-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCP4: deprecating two api_server rules #11758
Conversation
🤖 A k8s content image for this PR is available at: Click here to see how to deploy itIf you alread have Compliance Operator deployed: Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and: |
/test |
@rhmdnd: The
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
b15acd9
to
9a2e5a2
Compare
Thanks for confirming @yuumasato. @Vincent056 - apologies for preemptively suggesting we revert the STIG rule association. This should be all we need, in addition to what's already proposed: diff --git a/controls/srg_ctr/SRG-APP-000516-CTR-001325.yml b/controls/srg_ctr/SRG-APP-000516-CTR-001325.yml
index 7b5d85ddd8..916f315783 100644
--- a/controls/srg_ctr/SRG-APP-000516-CTR-001325.yml
+++ b/controls/srg_ctr/SRG-APP-000516-CTR-001325.yml
@@ -17,7 +17,6 @@ controls:
- api_server_admission_control_plugin_service_account
- api_server_anonymous_auth
- api_server_api_priority_flowschema_catch_all
- - api_server_api_priority_gate_enabled
- api_server_audit_log_maxbackup
- api_server_audit_log_maxsize
- api_server_audit_log_path
@@ -30,7 +29,6 @@ controls:
- api_server_etcd_key
- api_server_https_for_kubelet_conn
- api_server_insecure_bind_address
- - api_server_insecure_port
- api_server_kubelet_certificate_authority
- api_server_kubelet_client_cert
- api_server_kubelet_client_cert_pre_4_9 |
/hold for test |
@Vincent056 Seems the annotations also need to be updated.
|
9a2e5a2
to
5ba7eed
Compare
@Vincent056 Per the test result, the control.compliance.openshift.io/PCI-DSS and policies.open-cluster-management.io/standards for rule upstream-ocp4-api-server-api-priority-gate-enabled should also be removed. Besides, could you please also update status in OCPBUGS-34982? Thanks.
|
@Vincent056 I think you need to rebase this PR. More profiles select these rules on latest master.
|
ping |
5ba7eed
to
f3764e3
Compare
@Vincent056 Should the PCI-DSS control info get removed from the annotations? I didn't find the rule api-server-api-priority-gate-enabled in pci-dss profile.
|
applications/openshift/api-server/api_server_api_priority_gate_enabled/rule.yml
Outdated
Show resolved
Hide resolved
applications/openshift/api-server/api_server_api_priority_gate_enabled/rule.yml
Outdated
Show resolved
Hide resolved
applications/openshift/api-server/api_server_api_priority_gate_enabled/rule.yml
Outdated
Show resolved
Hide resolved
…_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.
f3764e3
to
f4bcb76
Compare
Code Climate has analyzed commit f4bcb76 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 59.4% (0.0% change). View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/retest |
This pr removes
api_server_insecure_port
andapi_server_api_priority_gate_enabled
from any of the OCP profiles because we no longer support those applicable OCP versions.