Skip to content
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

INFRA-18634: Add logging when default acl policy is about to be checked #608

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

mattclement
Copy link

Add logging when the default acl policy is about to be checked. This will help identify traffic relying on the default acl policy instead of the policy attached to a token (i.e. to help find policy gaps).

Server logs after running consul kv get /foo:

{"@level":"info","@message":"Checking default KeyRead","@module":"agent.acl.PolicyAuthorizer","@timestamp":"2024-10-10T10:30:04.927483-04:00","key":"foo"}

This will identify traffic that is hitting the default allow (or deny)
policy to help facilitate safe transition between default policies.
@mattclement mattclement merged commit c14a4fc into v1.19.1-bc Oct 10, 2024
13 of 41 checks passed
@mattclement mattclement deleted the INFRA-18634 branch October 10, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants