Skip to content

Commit aacd774

Browse files
authored
Merge pull request #92525 from openshift-cherrypick-robot/cherry-pick-89115-to-enterprise-4.19
2 parents 7dd03b9 + d3d104e commit aacd774

File tree

4 files changed

+29
-25
lines changed

4 files changed

+29
-25
lines changed

modules/compliance-profile-types.adoc

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * security/compliance_operator/co-concepts/compliance-operator-understanding.adoc
4+
// * security/compliance_operator/co-scans/compliance-operator-supported-profiles.adoc
5+
6+
:_mod-docs-content-type: REFERENCE
7+
[id="compliance_profile_types_{context}"]
8+
= Compliance Operator profile types
9+
10+
Compliance Operator rules are organized into profiles. Profiles can target the Platform or Nodes for {product-title}, and some benchmarks include `rhcos4` Node profiles.
11+
12+
Platform:: Platform profiles evaluate your {product-title} cluster components. For example, a Platform-level rule can confirm whether APIServer configurations are using strong encryption cyphers.
13+
14+
Node:: Node profiles evaluate the OpenShift or {op-system} configuration of each host. You can use two Node profiles: `ocp4` Node profiles and `rhcos4` Node profiles. The `ocp4` Node profiles evaluate the OpenShift configuration of each host. For example, they can confirm whether `kubeconfig` files have the correct permissions to meet a compliance standard. The `rhcos4` Node profiles evaluate the {op-system-first} configuration of each host. For example, they can confirm whether the SSHD service is configured to disable password logins.
15+
16+
[IMPORTANT]
17+
====
18+
For benchmarks that have Node and Platform profiles, such as PCI-DSS, you must run both profiles in your {product-title} environment.
19+
20+
For benchmarks that have `ocp4` Platform, `ocp4` Node, and `rhcos4` Node profiles, such as FedRAMP High, you must run all three profiles in your {product-title} environment.
21+
====
22+
23+
[NOTE]
24+
====
25+
In a cluster with many Nodes, both `ocp4` Node and `rhcos4` Node scans might take a long time to complete.
26+
====

modules/compliance-profiles.adoc

+1-15
Original file line numberDiff line numberDiff line change
@@ -214,18 +214,4 @@ title: Record Attempts to Alter Logon and Logout Events
214214
warning: Manual editing of these files may indicate nefarious activity, such as an
215215
attacker attempting to remove evidence of an intrusion.
216216
----
217-
====
218-
219-
[id="compliance_profile_types_{context}"]
220-
== Compliance Operator profile types
221-
222-
There are two types of compliance profiles available: Platform and Node.
223-
224-
Platform:: Platform scans target your {product-title} cluster.
225-
226-
Node:: Node scans target the nodes of the cluster.
227-
228-
[IMPORTANT]
229-
====
230-
For compliance profiles that have Node and Platform applications, such as `pci-dss` compliance profiles, you must run both in your {product-title} environment.
231-
====
217+
====

security/compliance_operator/co-concepts/compliance-operator-understanding.adoc

+1-5
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,4 @@ The Compliance Operator is available for {op-system-first} deployments only.
1515

1616
include::modules/compliance-profiles.adoc[leveloffset=+1]
1717

18-
[id="additional-resources_compliance-operator-understanding"]
19-
[role="_additional-resources"]
20-
== Additional resources
21-
22-
* xref:../../../security/compliance_operator/co-scans/compliance-operator-supported-profiles.adoc#compliance-operator-supported-profiles[Supported compliance profiles]
18+
include::modules/compliance-profile-types.adoc[leveloffset=+2]

security/compliance_operator/co-scans/compliance-operator-supported-profiles.adoc

+1-5
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,4 @@ The Compliance Operator might report incorrect results on some managed platforms
2727

2828
include::modules/compliance-supported-profiles.adoc[leveloffset=+1]
2929

30-
[id="additional-resources-compliance-operator-"]
31-
[role="_additional-resources"]
32-
== Additional resources
33-
34-
* xref:../../../security/compliance_operator/co-concepts/compliance-operator-understanding.adoc#compliance_profile_types_understanding-compliance[Compliance Operator profile types]
30+
include::modules/compliance-profile-types.adoc[leveloffset=+2]

0 commit comments

Comments
 (0)