-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Audit Logging] Authz policy support for audit logging (#32944)
Add audit condition and audit logger config into `grpc_core::Rbac`. Support translation of audit logging options from authz policy to it. Audit logging options in authz policy looks like: ```json { "audit_logging_options": { "audit_condition": "ON_DENY", "audit_loggers": [ { "name": "logger", "config": {}, "is_optional": false } ] } } ``` which is consistent with what's in the xDS RBAC proto but a little flattened. --------- Co-authored-by: rockspore <rockspore@users.noreply.github.com>
- Loading branch information
Showing
11 changed files
with
821 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.