-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Include metadata
in audit log for API key events
#88642
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
Include metadata
in audit log for API key events
#88642
Conversation
I can make the same change for |
@elasticmachine run elasticsearch-ci/part-2 |
Pinging @elastic/es-security (Team:Security) |
Can we also audit the metadata when creating/granting API keys as part of this PR? I think they are closely related. |
@ywangd sure thing. |
Hi @n1v0lg, I've created a changelog YAML for you. |
metadata
for API key updatesmetadata
in audit log for API key events
…g/elasticsearch into update-api-keys-metadata-audit-log
...security/src/main/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrail.java
Show resolved
Hide resolved
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
@elasticmachine update branch |
This PR adds audit logging for API key metadata, when an API key is
created, granted, or updated.