diff --git a/cfg/1.11/master.yaml b/cfg/1.11/master.yaml index f24cc6123632bf621b60edcf5205b0927ebffe7f..8a444649945a59eff626127889403cd06abcb0b7 100644 --- a/cfg/1.11/master.yaml +++ b/cfg/1.11/master.yaml @@ -153,12 +153,15 @@ groups: text: "Ensure that the admission control plugin AlwaysAdmit is not set (Scored)" audit: "ps -ef | grep $apiserverbin | grep -v grep" tests: + bin_op: or test_items: - flag: "--enable-admission-plugins" compare: op: nothave value: AlwaysAdmit set: true + - flag: "--enable-admission-plugins" + set: false remediation: | Edit the API server pod specification file $apiserverconf on the master node and set the --enable-admission-plugins parameter to a diff --git a/cfg/1.13/master.yaml b/cfg/1.13/master.yaml index be9e7578099071d169cf6eacdd333c2add7f00ac..ea7b974921f8788e5dc45665eedeb4a3b1fc5721 100644 --- a/cfg/1.13/master.yaml +++ b/cfg/1.13/master.yaml @@ -153,12 +153,15 @@ groups: text: "Ensure that the admission control plugin AlwaysAdmit is not set (Scored)" audit: "ps -ef | grep $apiserverbin | grep -v grep" tests: + bin_op: or test_items: - flag: "--enable-admission-plugins" compare: op: nothave value: AlwaysAdmit set: true + - flag: "--enable-admission-plugins" + set: false remediation: | Edit the API server pod specification file $apiserverconf on the master node and set the --enable-admission-plugins parameter to a