Skip to content

Commit

Permalink
Merge pull request #540 from Cargill/tenable_sc_split
Browse files Browse the repository at this point in the history
added vuln id split to teanable_sc
  • Loading branch information
MehaSal authored Sep 25, 2024
2 parents ff8c4e2 + 73461dc commit 80b45ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/processors/vuln_tenable_asm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ filter {
mutate {
remove_field => [ "tmp" ]
}
split {
field => "[vulnerability][id]"
}
}
output {
pipeline { send_to => [enrichments] }
Expand Down
6 changes: 6 additions & 0 deletions config/processors/vuln_tenable_sc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ filter {
source => "message"
target => "tmp"
}
mutate {
split => { "[tmp][cve]" => "," }
}
mutate{
add_field => { "[log][source][hostname]" => "%{[tmp][netbiosName]}" }
}
Expand Down Expand Up @@ -117,6 +120,9 @@ filter {
mutate {
remove_field => [ "tmp" ]
}
split {
field => "[vulnerability][id]"
}
}
output {
pipeline { send_to => [enrichments] }
Expand Down

0 comments on commit 80b45ed

Please sign in to comment.