Merge branch 'master' into fix-2.1.8

pull/175/head
Liz Rice 6 years ago committed by GitHub
commit 6e80b6477a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -607,15 +607,15 @@ groups:
text: "Ensure that the AdvancedAuditing argument is not set to false (Scored)" text: "Ensure that the AdvancedAuditing argument is not set to false (Scored)"
audit: "ps -ef | grep $apiserverbin | grep -v grep" audit: "ps -ef | grep $apiserverbin | grep -v grep"
tests: tests:
bin_op: and bin_op: or
test_items: test_items:
- flag: "--feature-gates" - flag: "--feature-gates"
compare: compare:
op: nothave op: nothave
value: "AdvancedAuditing=false" value: "AdvancedAuditing=false"
set: true set: true
- flag: "--audit-policy-file" - flag: "--feature-gates"
set: true set: false
remediation: | remediation: |
Follow the Kubernetes documentation and set the desired audit policy in the Follow the Kubernetes documentation and set the desired audit policy in the
/etc/kubernetes/audit-policy.yaml file. Then, edit the API server pod specification file $apiserverconf /etc/kubernetes/audit-policy.yaml file. Then, edit the API server pod specification file $apiserverconf

Loading…
Cancel
Save