Skip to content

Commit 2339a16

Browse files
authored
Merge pull request #39673 from xenolinux/mcp
BZ2004045: Rescanning creates four additional mc
2 parents 005774a + 11c3b3c commit 2339a16

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

modules/compliance-rescan.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,22 @@ Typically you will want to re-run a scan on a defined schedule, like every Monda
1111
$ oc annotate compliancescans/<scan_name> compliance.openshift.io/rescan=
1212
----
1313

14+
A rescan generates four additional `mc` for `rhcos-moderate` profile:
15+
16+
[source,terminal]
17+
----
18+
$ oc get mc
19+
----
20+
21+
.Example output
22+
[source,terminal]
23+
----
24+
75-worker-scan-chronyd-or-ntpd-specify-remote-server
25+
75-worker-scan-configure-usbguard-auditbackend
26+
75-worker-scan-service-usbguard-enabled
27+
75-worker-scan-usbguard-allow-hid-and-hub
28+
----
29+
1430
[IMPORTANT]
1531
====
1632
When the scan setting `default-auto-apply` label is applied, remediations are applied automatically and outdated remediations automatically update. If there are remediations that were not applied due to dependencies, or remediations that had been outdated, rescanning applies the remediations and might trigger a reboot. Only remediations that use `MachineConfig` objects trigger reboots. If there are no updates or dependencies to be applied, no reboot occurs.

modules/compliance-review.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[id="compliance-review_{context}"]
66
= Reviewing a remediation
77

8-
Review both the `ComplianceRemediation` object and the `ComplianceCheckResult` object that owns the remediation. The `ComplianceCheckResult` object contains human-readable descriptions of what the check does and the hardening trying to prevent, as well as other `metadata` like the severity and the associated security controls. The `ComplianceRemediation` object represents a way to fix the problem described in the `ComplianceCheckResult`.
8+
Review both the `ComplianceRemediation` object and the `ComplianceCheckResult` object that owns the remediation. The `ComplianceCheckResult` object contains human-readable descriptions of what the check does and the hardening trying to prevent, as well as other `metadata` like the severity and the associated security controls. The `ComplianceRemediation` object represents a way to fix the problem described in the `ComplianceCheckResult`. After first scan, check for remediations with the state `MissingDependencies`.
99

1010
Below is an example of a check and a remediation called `sysctl-net-ipv4-conf-all-accept-redirects`. This example is redacted to only show `spec` and `status` and omits `metadata`:
1111

0 commit comments

Comments
 (0)