-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Team:SecurityPlatform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t//Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t//chore
Description
Currently, we emit a debug log message whenever an under-privileged user attempts to access an API endpoint:
| logger.debug(`not authorized for "${request.url.path}"`); |
To assist in debugging authorization issues, it would be helpful if we could increase this to something that would be logged by default (perhaps info or warn). This should not be logged all that often under normal operating conditions, so IMO there is little risk to increasing this.
If a setup is seeing this log message spammed, then there is an authorization issue that should be addressed.
Metadata
Metadata
Assignees
Labels
Team:SecurityPlatform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t//Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t//chore