fix-kube-bench-1.2.20 (#9939)

pull/9899/head
Kay Yan 2023-03-30 00:35:49 +08:00 committed by GitHub
parent 19856cf692
commit e8f0fb82fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ node_taints:
The auditing parameters can be tuned via the following variables (which default values are shown below): The auditing parameters can be tuned via the following variables (which default values are shown below):
* `audit_log_path`: /var/log/audit/kube-apiserver-audit.log * `audit_log_path`: /var/log/audit/kube-apiserver-audit.log
* `audit_log_maxage`: 30 * `audit_log_maxage`: 30
* `audit_log_maxbackups`: 1 * `audit_log_maxbackups`: 10
* `audit_log_maxsize`: 100 * `audit_log_maxsize`: 100
* `audit_policy_file`: "{{ kube_config_dir }}/audit-policy/apiserver-audit-policy.yaml" * `audit_policy_file`: "{{ kube_config_dir }}/audit-policy/apiserver-audit-policy.yaml"

View File

@ -48,7 +48,7 @@ audit_log_path: /var/log/audit/kube-apiserver-audit.log
# num days # num days
audit_log_maxage: 30 audit_log_maxage: 30
# the num of audit logs to retain # the num of audit logs to retain
audit_log_maxbackups: 1 audit_log_maxbackups: 10
# the max size in MB to retain # the max size in MB to retain
audit_log_maxsize: 100 audit_log_maxsize: 100
# policy file # policy file