- Notifications
You must be signed in to change notification settings - Fork1k
fix(coderd): add audit log on creating a new session key#19672
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
bd6e91e
intomainUh oh!
There was an error while loading.Please reload this page.
Audit:*auditor, | ||
Log:api.Logger, | ||
Request:r, | ||
Action:database.AuditActionCreate, |
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.
Won't be visible in the UI iffilter will specifyaction:login
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.
Correct, typically that gets logged when users authenticate via the Web UI.
Uh oh!
There was an error while loading.Please reload this page.
Fixes#19671
(re-?)Adds an audit log entry when an API key is created via
coder login
.NOTE: This doesnot backfill audit logs.