Skip to content
Snippets Groups Projects
Commit d127512a authored by Roberto Rojas's avatar Roberto Rojas Committed by Liz Rice
Browse files

issue #349: changes test 2.2.8 (#351)

parent 336ca849
Branches
Tags
No related merge requests found
...@@ -434,8 +434,14 @@ groups: ...@@ -434,8 +434,14 @@ groups:
- id: 2.2.8 - id: 2.2.8
text: "Ensure that the client certificate authorities file ownership is set to root:root (Scored)" text: "Ensure that the client certificate authorities file ownership is set to root:root (Scored)"
audit: "/bin/sh -c 'if test -e $ca-file; then stat -c %U:%G $ca-file; fi'" audit: "/bin/sh -c 'if test -e $kubeletcafile; then stat -c %U:%G $kubeletcafile; fi'"
type: manual tests:
test_items:
- flag: "root:root"
compare:
op: eq
value: root:root
set: true
remediation: | remediation: |
Run the following command to modify the ownership of the --client-ca-file . Run the following command to modify the ownership of the --client-ca-file .
chown root:root <filename> chown root:root <filename>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment