Created
June 23, 2025 23:29
-
-
Save jkeam/ce20fa019145821527b10ecf455e345b to your computer and use it in GitHub Desktop.
Just the profiles of a ScanSettingBinding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
profiles: | |
- apiGroup: compliance.openshift.io/v1alpha1 | |
kind: Profile | |
name: ocp4-stig-v2r2 | |
- apiGroup: compliance.openshift.io/v1alpha1 | |
kind: Profile | |
name: rhcos4-stig-v2r2 | |
- apiGroup: compliance.openshift.io/v1alpha1 | |
kind: Profile | |
name: ocp4-stig-node-v2r2 | |
settingsRef: | |
apiGroup: compliance.openshift.io/v1alpha1 | |
kind: ScanSetting | |
name: default |
oc get compliancecheckresults -n openshift-compliance -l 'compliance.openshift.io/check-status=FAIL,compliance.openshift.io/automated-remediation'
oc patch complianceremediations/<scan_name>-<remediation_name> -p '{"spec":{"apply":true}}' --type=merge -n openshift-compliance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.