Skip to content

Commit

Permalink
OCP4: deprecating api_server_api_priority_gate_enabled and api_server…
Browse files Browse the repository at this point in the history
…_insecure_port

This pr remove api_server_insecure_port and api_server_api_priority_gate_enabled from any of the OCP profiles, becuase we no longer support those applicable OCP versions.
  • Loading branch information
Vincent056 committed Jun 11, 2024
1 parent cd56688 commit 5ba7eed
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ platforms:
severity: medium

references:
cis@ocp4: 1.2.9
nerc-cip: CIP-003-8 R6,CIP-004-6 R3,CIP-007-3 R6.1
nist: CM-6,CM-6(1)
pcidss: Req-2.2
srg: SRG-APP-000516-CTR-001325

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ platforms:
severity: medium

references:
cis@ocp4: 1.2.17
nerc-cip: CIP-003-8 R6,CIP-004-6 R3,CIP-007-3 R6.1
nist: CM-6,CM-6(1)
pcidss: Req-2.2,Req-2.3
srg: SRG-APP-000516-CTR-001325

ocil_clause: '<tt>insecure-port</tt> setting exists'
Expand Down
10 changes: 4 additions & 6 deletions controls/cis_ocp_1_4_0/section-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,8 @@ controls:
levels: [ level_1, ]
- id: 1.2.9
title: Ensure that the APIPriorityAndFairness feature gate is enabled
status: automated
rules:
- api_server_api_priority_gate_enabled
status: inherently met
rules: []
levels: [ level_1, ]
- id: 1.2.10
title: Ensure that the admission control plugin AlwaysAdmit is not set
Expand Down Expand Up @@ -294,9 +293,8 @@ controls:
levels: [ level_1, ]
- id: 1.2.17
title: Ensure that the --insecure-port argument is set to 0
status: automated
rules:
- api_server_insecure_port
status: inherently met
rules: []
levels: [ level_1, ]
- id: 1.2.18
title: Ensure that the --secure-port argument is not set to 0
Expand Down
4 changes: 0 additions & 4 deletions controls/nist_ocp4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4815,7 +4815,6 @@ controls:
- file_permissions_openshift_pki_key_files
- file_owner_cni_conf
- ocp_api_server_audit_log_maxsize
- api_server_api_priority_gate_enabled
- file_owner_master_admin_kubeconfigs
- file_permissions_ovsdb_server_pid
- file_groupowner_kube_scheduler
Expand Down Expand Up @@ -4994,7 +4993,6 @@ controls:
- controller_use_service_account
- file_groupowner_ovs_sys_id_conf
- file_groupowner_cni_conf
- api_server_insecure_port
- rbac_debug_role_protects_pprof
- rbac_limit_cluster_admin
- file_groupowner_ovs_pid
Expand Down Expand Up @@ -5044,7 +5042,6 @@ controls:
- file_permissions_openshift_pki_key_files
- file_owner_cni_conf
- ocp_api_server_audit_log_maxsize
- api_server_api_priority_gate_enabled
- file_owner_master_admin_kubeconfigs
- file_permissions_ovsdb_server_pid
- file_groupowner_kube_scheduler
Expand Down Expand Up @@ -5211,7 +5208,6 @@ controls:
- controller_use_service_account
- file_groupowner_ovs_sys_id_conf
- file_groupowner_cni_conf
- api_server_insecure_port
- rbac_debug_role_protects_pprof
- rbac_limit_cluster_admin
- file_groupowner_ovs_pid
Expand Down
1 change: 0 additions & 1 deletion controls/pcidss_ocp4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,6 @@ controls:
- api_server_etcd_cert
- api_server_etcd_key
- api_server_https_for_kubelet_conn
- api_server_insecure_port
- api_server_kubelet_certificate_authority
- api_server_oauth_https_serving_cert
- api_server_openshift_https_serving_cert
Expand Down

0 comments on commit 5ba7eed

Please sign in to comment.