Skip to content

Commit

Permalink
Ensure 127.0.0.1 for the --bind-address parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsakalozos committed Nov 8, 2024
1 parent d8fc376 commit ea4ec06
Show file tree
Hide file tree
Showing 2 changed files with 955 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cfg/cis-1.24/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -900,14 +900,11 @@ groups:
text: "Ensure that the --bind-address argument is set to 127.0.0.1 (Automated)"
audit: "/bin/ps -ef | grep $controllermanagerbin | grep -v grep"
tests:
bin_op: or
test_items:
- flag: "--bind-address"
compare:
op: eq
value: "127.0.0.1"
- flag: "--bind-address"
set: false
remediation: |
Edit the Controller Manager pod specification file $controllermanagerconf
on the control plane node and ensure the correct value for the --bind-address parameter
Expand Down Expand Up @@ -935,14 +932,11 @@ groups:
text: "Ensure that the --bind-address argument is set to 127.0.0.1 (Automated)"
audit: "/bin/ps -ef | grep $schedulerbin | grep -v grep"
tests:
bin_op: or
test_items:
- flag: "--bind-address"
compare:
op: eq
value: "127.0.0.1"
- flag: "--bind-address"
set: false
remediation: |
Edit the Scheduler pod specification file $schedulerconf
on the control plane node and ensure the correct value for the --bind-address parameter
Expand Down
Loading

0 comments on commit ea4ec06

Please sign in to comment.