-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filebeat AWS CloudTrail eventName overwritten by eventCategory during ingest #22776
Comments
botelastic
bot
added
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Nov 26, 2020
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
botelastic
bot
removed
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Nov 27, 2020
4 tasks
Ah great, even better. |
leehinman
added a commit
to leehinman/beats
that referenced
this issue
Dec 10, 2020
- map to aws.cloudtrail.event_category Closes elastic#22776
leehinman
added a commit
that referenced
this issue
Dec 10, 2020
* AWS CloudTrail preserve eventCategory - map to aws.cloudtrail.event_category Closes #22776
leehinman
added a commit
to leehinman/beats
that referenced
this issue
Dec 10, 2020
* AWS CloudTrail preserve eventCategory - map to aws.cloudtrail.event_category Closes elastic#22776 (cherry picked from commit 971b95b)
4 tasks
leehinman
added a commit
that referenced
this issue
Dec 10, 2020
4 tasks
leehinman
added a commit
to leehinman/beats
that referenced
this issue
Jan 7, 2021
* AWS CloudTrail preserve eventCategory - map to aws.cloudtrail.event_category Closes elastic#22776 (cherry picked from commit 971b95b)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue: Where ECS = destination elasticsearch record and json = CloudTrail payload being ingested. By default, the pipeline used to process CloudTrail logs will overwrite ECS event.action with json eventCategory where ECS event.action should be json eventName. ECS event.category is also not written to as a result.
I believe this is the line causing the issue:
beats/x-pack/filebeat/module/aws/cloudtrail/ingest/pipeline.yml
Line 95 in 6106aa7
Example CloudTrail Payload:
Results in Elasticsearch ECS fields:
Expected:
The text was updated successfully, but these errors were encountered: