-
Notifications
You must be signed in to change notification settings - Fork 474
system: improve event.{action,category,outcome} enrichment for auth datastream #6966
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
- set: | ||
field: event.action | ||
value: 'logged-on' | ||
if: ctx.message != null && ctx.message.contains('session opened') | ||
- set: | ||
field: event.action | ||
value: 'logged-off' | ||
if: ctx.message != null && ctx.message.contains('session closed') |
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.
ISTM that these should be "session-opened" and "session-closed" since this is not a login, but if these are the terms that are used in the security solution they are OK as is.
🌐 Coverage report
|
Pinging @elastic/security-external-integrations (Team:Security-External 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.
LGTM codeowner; as it is security datastream
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.
LGTM 👍🏼
Package system - 1.37.0 containing this change is available at https://epr.elastic.co/search?package=system |
What does this PR do?
Enriches event fields for pam session and auth messages and for process-related auth messages.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
Screenshots