mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
OSDOCS-16161: Refined the note on Configuring the audit log policy with custom rules
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
c2bd26dace
commit
9ef5f8d268
@@ -12,7 +12,7 @@ These custom rules take precedence over the top-level profile field. The custom
|
||||
|
||||
[IMPORTANT]
|
||||
====
|
||||
Custom rules are ignored if the top-level profile field is set to `None`.
|
||||
If you set the top-level profile field to `None`, an API server, such as the Kubernetes API server, ignores custom rules and disables audit logging.
|
||||
====
|
||||
|
||||
.Prerequisites
|
||||
@@ -47,11 +47,6 @@ spec:
|
||||
----
|
||||
<1> Add one or more groups and specify the profile to use for that group. These custom rules take precedence over the top-level profile field. The custom rules are evaluated from top to bottom, and the first that matches is applied.
|
||||
<2> Set to `Default`, `WriteRequestBodies`, or `AllRequestBodies`. If you do not set this top-level profile field, it defaults to the `Default` profile.
|
||||
+
|
||||
[WARNING]
|
||||
====
|
||||
Do not set the top-level profile field to `None` if you want to use custom rules. Custom rules are ignored if the top-level profile field is set to `None`.
|
||||
====
|
||||
|
||||
. Save the file to apply the changes.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user