Skip to content

Commit

Permalink
Merge pull request #556 from Cargill/guardduty_missing_dataset
Browse files Browse the repository at this point in the history
Fix for Guardduty missing dataset
  • Loading branch information
lyradc authored Oct 25, 2024
2 parents 841ea15 + cfe022e commit ad9ac2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/processors/api_security_aws.guardduty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ filter {
source => "message"
target => "guard"
}
mutate {
remove_field => [ "host", "event" ]
}
mutate {
add_field => { "[cloud][provider]" => "aws" }
add_field => { "[event][module]" => "aws" }
add_field => { "[event][dataset]" => "aws.guardduty" }
remove_field => [ "host", "event" ]
}
ruby {
init => '@ignore = [ "path", "@timestamp", "@metadata", "host", "@version" ]'
Expand Down

0 comments on commit ad9ac2f

Please sign in to comment.