Skip to content

CMP-4654: Update CIS Red Hat OpenShift Container Platform 4 Benchmark to v2.0.0 - #15093

Merged
yuumasato merged 2 commits into
ComplianceAsCode:masterfrom
abushkin-redhat:CMP-4654
Sep 4, 2026
Merged

CMP-4654: Update CIS Red Hat OpenShift Container Platform 4 Benchmark to v2.0.0#15093
yuumasato merged 2 commits into
ComplianceAsCode:masterfrom
abushkin-redhat:CMP-4654

Conversation

@abushkin-redhat

Copy link
Copy Markdown
Collaborator

Description:

  • Add CIS Red Hat OpenShift Container Platform 4 Benchmark v2.0.0 content and profiles,
    and deprecate v1.9.0.
  • Overall nature of the change: Primarily cosmetic, mainly a reference update moving from v1.9 to v2.0.

Structural changes

  • New control: controls/cis_ocp_200.yml + controls/cis_ocp_200/section-*.yml.
  • New profiles: products/ocp4/profiles/cis-2-0.profile (platform) and cis-node-2-0.profile (node), selecting cis_ocp_200:all.
  • Deprecated v1.9.0 profiles (cis-1-9 / cis-node-1-9) via status: deprecated — still shipped for users pinned to that version.
  • Moved the cis reference ownership to the current version: dropped reference_type: cis from controls/cis_ocp_190.yml (now deprecated) so only controls/cis_ocp_200.yml carries it. Two active control files sharing a reference type would double-list every rule's control reference; this matches the existing precedent where the superseded cis_ocp (1.7.0) control carries no reference_type.
  • Removed the previously-deprecated v1.7.0 profiles (cis-1-7 / cis-node-1-7) per the ticket's acceptance criteria (older deprecated profiles are dropped when a new version lands). Nothing referenced these profiles (no tests, no data). Note: the controls/cis_ocp (1.7.0) control file is intentionally retained — it is not orphaned; the PCI-DSS 4.0 profile depends on it via cis_ocp:all:level_2 in controls/pcidss_4_ocp4.yml. Only the profiles are removed.
  • Repointed the unversioned "latest" profiles (cis / cis-node) to extend the new v2.0.0 profiles.
  • Updated Dockerfiles/compliance-operator-content-konflux.Containerfile: added the new v2.0.0 pair (cis-2-0 / cis-node-2-0) to the shipped documentation_complete list and removed the v1.7.0 pair (the deprecated v1.9.0 pair stays, as it did while it was current).

Rule-level changes (0)

  • None — no rule content changed for our profiles.

Control-file title updates (1)

  • 1.1.10 (controls/cis_ocp_200/section-1.yml): "Ensure that the Container Network Interface file ownership is set to root:root" → "Ensure that the Container Network Interface file ownership is set to openvswitch:openvswitch"

Recommendation scope

  • No renumbering: recommendation numbers are unchanged between v1.9.0 and v2.0.0.

Rationale:

Add CIS Red Hat OpenShift Container Platform 4 Benchmark v2.0.0 content and
profiles (cis-2-0 / cis-node-2-0, control cis_ocp_200), and deprecate v1.9.0.

- Deprecate cis-1-9 / cis-node-1-9 (status: deprecated); move the 'cis'
  reference_type from cis_ocp_190 to cis_ocp_200 so only the current control
  owns it (two active controls sharing a reference_type double-list every rec).
- Repoint the unversioned cis / cis-node profiles to extend v2.0.0.
- Remove the previously-deprecated v1.7.0 profiles (cis-1-7 / cis-node-1-7);
  the cis_ocp control file is retained (PCI-DSS 4.0 depends on it).
- Update the konflux Containerfile downstream list: add the v2.0.0 pair,
  remove the v1.7.0 pair.

The benchmark delta is structural: all changed recommendations are no-op for
our content, so no rule content changed. One control-node title synced (1.1.10).
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Used by openshift-ci bot. label Sep 4, 2026
@openshift-ci

openshift-ci Bot commented Sep 4, 2026

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

List abushkin-redhat under maintainers in the v2.0.0 platform/node profiles
and the unversioned cis / cis-node profiles that extend them.
@abushkin-redhat
abushkin-redhat marked this pull request as ready for review September 4, 2026 11:36
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Used by openshift-ci bot. label Sep 4, 2026
@abushkin-redhat abushkin-redhat added this to the 0.1.83 milestone Sep 4, 2026

@yuumasato yuumasato left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@yuumasato yuumasato self-assigned this Sep 4, 2026
@yuumasato yuumasato added OpenShift OpenShift product related. CIS CIS Benchmark related. labels Sep 4, 2026
@yuumasato
yuumasato merged commit 5ba962c into ComplianceAsCode:master Sep 4, 2026
67 of 75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CIS CIS Benchmark related. OpenShift OpenShift product related.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants