diff --git a/applications/openshift/registry/image_pruner_active/rule.yml b/applications/openshift/registry/image_pruner_active/rule.yml index c464dc352d0..7b6a4c4f962 100644 --- a/applications/openshift/registry/image_pruner_active/rule.yml +++ b/applications/openshift/registry/image_pruner_active/rule.yml @@ -37,7 +37,7 @@ ocil_clause: 'ImagePruner is not active' ocil: |- Ensure that the imagepruner is configured and is not in a suspended state.
oc get imagepruners.imageregistry.operator.openshift.io/cluster -o jsonpath='{.spec}{"\n"}'
.spec.suspend field should not be set to false. + The output should be non-empty and the .spec.suspend field should be set to false. severity: medium