Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-bench
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
aquasecurity
kube-bench
Commits
ebcb7429
Unverified
Commit
ebcb7429
authored
4 years ago
by
Dmytro Oboznyi
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix 1.1.7 1.1.8 (#798)
Signed-off-by:
Dmytro Oboznyi
<
dmytro.oboznyi@syncier.com
>
parent
9782bee8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cfg/cis-1.6/master.yaml
+4
-2
4 additions, 2 deletions
cfg/cis-1.6/master.yaml
cfg/config.yaml
+1
-0
1 addition, 0 deletions
cfg/config.yaml
with
5 additions
and
2 deletions
cfg/cis-1.6/master.yaml
+
4
−
2
View file @
ebcb7429
...
...
@@ -91,7 +91,8 @@ groups:
-
id
:
1.1.7
text
:
"
Ensure
that
the
etcd
pod
specification
file
permissions
are
set
to
644
or
more
restrictive
(Automated)"
audit
:
"
/bin/sh
-c
'if
test
-e
$etcdconf;
then
stat
-c
permissions=%a
$etcdconf;
fi'"
audit
:
"
/bin/sh
-c
'if
test
-e
$etcdconf;
then
find
$etcdconf
-name
'*etcd*'
|
xargs
stat
-c
permissions=%a;
fi'"
use_multiple_values
:
true
tests
:
test_items
:
-
flag
:
"
permissions"
...
...
@@ -106,7 +107,8 @@ groups:
-
id
:
1.1.8
text
:
"
Ensure
that
the
etcd
pod
specification
file
ownership
is
set
to
root:root
(Automated)"
audit
:
"
/bin/sh
-c
'if
test
-e
$etcdconf;
then
stat
-c
%U:%G
$etcdconf;
fi'"
audit
:
"
/bin/sh
-c
'if
test
-e
$etcdconf;
then
find
$etcdconf
-name
'*etcd*'
|
xargs
stat
-c
%U:%G;
fi'"
use_multiple_values
:
true
tests
:
test_items
:
-
flag
:
"
root:root"
...
...
This diff is collapsed.
Click to expand it.
cfg/config.yaml
+
1
−
0
View file @
ebcb7429
...
...
@@ -81,6 +81,7 @@ master:
-
/var/snap/etcd/common/etcd.conf.yaml
-
/var/snap/microk8s/current/args/etcd
-
/usr/lib/systemd/system/etcd.service
-
/etc/kubernetes/manifests
defaultconf
:
/etc/kubernetes/manifests/etcd.yaml
flanneld
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment