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
c87c5cfb
Commit
c87c5cfb
authored
5 years ago
by
Roberto Rojas
Committed by
Liz Rice
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixes bugs on tests 2.1.4 and 2.1.5 - 1.13-json (#365)
* Adds bin_op to Test 2.1.4 * Adds bin_op to Test 2.1.5
parent
b649588f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cfg/1.13-json/node.yaml
+6
-0
6 additions, 0 deletions
cfg/1.13-json/node.yaml
with
6 additions
and
0 deletions
cfg/1.13-json/node.yaml
+
6
−
0
View file @
c87c5cfb
...
@@ -74,12 +74,15 @@ groups:
...
@@ -74,12 +74,15 @@ groups:
text
:
"
Ensure
that
the
--read-only-port
argument
is
set
to
0
(Scored)"
text
:
"
Ensure
that
the
--read-only-port
argument
is
set
to
0
(Scored)"
audit
:
"
cat
$kubeletconf"
audit
:
"
cat
$kubeletconf"
tests
:
tests
:
bin_op
:
or
test_items
:
test_items
:
-
path
:
"
{.readOnlyPort}"
-
path
:
"
{.readOnlyPort}"
compare
:
compare
:
op
:
eq
op
:
eq
value
:
0
value
:
0
set
:
true
set
:
true
-
path
:
"
{.readOnlyPort}"
set
:
false
remediation
:
|
remediation
:
|
If using a Kubelet config file, edit the file to set readOnlyPort to 0 .
If using a Kubelet config file, edit the file to set readOnlyPort to 0 .
If using command line arguments, edit the kubelet service file
If using command line arguments, edit the kubelet service file
...
@@ -95,12 +98,15 @@ groups:
...
@@ -95,12 +98,15 @@ groups:
text
:
"
Ensure
that
the
--streaming-connection-idle-timeout
argument
is
not
set
to
0
(Scored)"
text
:
"
Ensure
that
the
--streaming-connection-idle-timeout
argument
is
not
set
to
0
(Scored)"
audit
:
"
cat
$kubeletconf"
audit
:
"
cat
$kubeletconf"
tests
:
tests
:
bin_op
:
or
test_items
:
test_items
:
-
path
:
"
{.streamingConnectionIdleTimeout}"
-
path
:
"
{.streamingConnectionIdleTimeout}"
compare
:
compare
:
op
:
noteq
op
:
noteq
value
:
0
value
:
0
set
:
true
set
:
true
-
path
:
"
{.streamingConnectionIdleTimeout}"
set
:
false
remediation
:
|
remediation
:
|
If using a Kubelet config file, edit the file to set streamingConnectionIdleTimeout to a
If using a Kubelet config file, edit the file to set streamingConnectionIdleTimeout to a
value other than 0.
value other than 0.
...
...
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