RedHat EX432 Question Answer
Switch a policy from enforce → inform (report-only) and validate behavior
See the solution below in Explanation.
Patch remediation to inform:
oc patch policy policy-ensure-audit-namespace -n team-dev --type=merge -p '{"spec":{"remediationAction":"inform"}}'
Verify:
oc get policy policy-ensure-audit-namespace -n team-dev -o yaml | grep remediationAction -n
Observe compliance changes (policy will report but not auto-fix).
TESTED 17 Jul 2026
Copyright © 2014-2026 ACE4Sure. All Rights Reserved