-
Notifications
You must be signed in to change notification settings - Fork 511
[gcp] Add Parsing for Sensitive Action Notifications Event in Audit Dataset #15619
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
Conversation
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include in the commit message links to the documentation and schema in the origin of the test sample that's added here.
| ctx.related = ctx.related ?: [:]; | ||
| ctx.related.entity = entities; | ||
| if (entities.size() > 0) { | ||
| ctx.related.entity = entities; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest putting the ctx.related = ctx.related ?: [:]; in the conditional.
| if (entities.size() > 0) { | ||
| ctx.related.entity = entities; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
Put the ctx.related = ctx.related ?: [:]; in the conditional.
@efd6 I couldn’t find a complete official schema definition. The available samples were taken directly from the issue. I’ve updated the commit body accordingly. |
💚 Build Succeeded
History
|
|
Package gcp - 2.44.0 containing this change is available at https://epr.elastic.co/package/gcp/2.44.0/ |
Proposed commit message
Checklist
changelog.ymlfile.How to test this PR locally
Related Issue