Skip to content
Snippets Groups Projects
Unverified Commit f0e30cef authored by JoostC's avatar JoostC Committed by GitHub
Browse files

Add a trailing slash to find directory path (#687)

parent 3488c834
Branches
Tags
No related merge requests found
......@@ -304,7 +304,7 @@ groups:
- id: 1.1.20
text: "Ensure that the Kubernetes PKI certificate file permissions are set to 644 or more restrictive (Not Scored)"
audit: "find /etc/kubernetes/pki -name '*.crt' | xargs stat -c permissions=%a"
audit: "find /etc/kubernetes/pki/ -name '*.crt' | xargs stat -c permissions=%a"
use_multiple_values: true
tests:
test_items:
......@@ -321,7 +321,7 @@ groups:
- id: 1.1.21
text: "Ensure that the Kubernetes PKI key file permissions are set to 600 (Not Scored)"
audit: "find /etc/kubernetes/pki -name '*.key' | xargs stat -c permissions=%a"
audit: "find /etc/kubernetes/pki/ -name '*.key' | xargs stat -c permissions=%a"
use_multiple_values: true
tests:
test_items:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment