Skip to content

Commit

Permalink
docs: Add excludeMetadataKeys and includeMetadataKeys to audit page o…
Browse files Browse the repository at this point in the history
…n docs (#1383)

Signed-off-by: Oğuzhan Durgun <oguzhandurgun95@gmail.com>

Signed-off-by: Oğuzhan Durgun <oguzhandurgun95@gmail.com>
  • Loading branch information
oguzhand95 committed Dec 6, 2022
1 parent 7e32c7c commit ac2e665
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/modules/configuration/pages/audit.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ audit:
enabled: true # Set to false to completely disable audit logging.
accessLogsEnabled: true # Log API access attempts
decisionLogsEnabled: true # Log policy decisions
backend: local # Audit backend to use.
excludeMetadataKeys: ['authorization'] # Excludes given gRPC request metadata keys from access logs. (Takes precedence over includeMetadataKeys)
includeMetadataKeys: ['content-type'] # Includes given gRPC request metadata keys in access logs.
backend: local # Audit backend to use.
local: # Configuration for the local audit backend
storagePath: /path/to/dir # Path to store the data
retentionPeriod: 168h # Records older than this will be automatically deleted
Expand Down

0 comments on commit ac2e665

Please sign in to comment.