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
5ff32e55
Unverified
Commit
5ff32e55
authored
4 years ago
by
Huang Huang
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Check PodSecurityPolicy when test 1.2.13 of cis-1.5 (#651)
parent
db109daf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cfg/cis-1.5/master.yaml
+6
-0
6 additions, 0 deletions
cfg/cis-1.5/master.yaml
with
6 additions
and
0 deletions
cfg/cis-1.5/master.yaml
+
6
−
0
View file @
5ff32e55
...
@@ -520,12 +520,18 @@ groups:
...
@@ -520,12 +520,18 @@ groups:
text
:
"
Ensure
that
the
admission
control
plugin
SecurityContextDeny
is
set
if
PodSecurityPolicy
is
not
used
(Not
Scored)"
text
:
"
Ensure
that
the
admission
control
plugin
SecurityContextDeny
is
set
if
PodSecurityPolicy
is
not
used
(Not
Scored)"
audit
:
"
/bin/ps
-ef
|
grep
$apiserverbin
|
grep
-v
grep"
audit
:
"
/bin/ps
-ef
|
grep
$apiserverbin
|
grep
-v
grep"
tests
:
tests
:
bin_op
:
or
test_items
:
test_items
:
-
flag
:
"
--enable-admission-plugins"
-
flag
:
"
--enable-admission-plugins"
compare
:
compare
:
op
:
has
op
:
has
value
:
"
SecurityContextDeny"
value
:
"
SecurityContextDeny"
set
:
true
set
:
true
-
flag
:
"
--enable-admission-plugins"
compare
:
op
:
has
value
:
"
PodSecurityPolicy"
set
:
true
remediation
:
|
remediation
:
|
Edit the API server pod specification file $apiserverconf
Edit the API server pod specification file $apiserverconf
on the master node and set the --enable-admission-plugins parameter to include
on the master node and set the --enable-admission-plugins parameter to include
...
...
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