cvss mapping moved to vulnwhisperer
This commit is contained in:
@ -49,32 +49,6 @@ filter {
|
||||
convert => { "total_times_detected" => "integer"}
|
||||
}
|
||||
|
||||
if [cvss] == 0 {
|
||||
mutate {
|
||||
add_field => { "cvss_severity" => "info" }
|
||||
}
|
||||
}
|
||||
if [cvss] > 0 and [cvss] < 3 {
|
||||
mutate {
|
||||
add_field => { "cvss_severity" => "low" }
|
||||
}
|
||||
}
|
||||
if [cvss] >= 3 and [cvss] < 6 {
|
||||
mutate {
|
||||
add_field => { "cvss_severity" => "medium" }
|
||||
}
|
||||
}
|
||||
if [cvss] >=6 and [cvss] < 9 {
|
||||
mutate {
|
||||
add_field => { "cvss_severity" => "high" }
|
||||
}
|
||||
}
|
||||
if [cvss] >= 9 {
|
||||
mutate {
|
||||
add_field => { "cvss_severity" => "critical" }
|
||||
}
|
||||
}
|
||||
|
||||
if [first_time_detected] {
|
||||
date {
|
||||
match => [ "first_time_detected", "dd MMM yyyy HH:mma 'GMT'ZZ", "dd MMM yyyy HH:mma 'GMT'" ]
|
||||
|
Reference in New Issue
Block a user