From 157c4be3ff9507d01e776016e96dcf65aff4b394 Mon Sep 17 00:00:00 2001 From: yiraeChristineKim Date: Wed, 28 Aug 2024 09:42:58 -0400 Subject: [PATCH] Fix issues for integration-test - Accidentally removed name. Recovering name. - Shorten policy-scc policy name Ref: https://issues.redhat.com/browse/ACM-13584 Signed-off-by: yiraeChristineKim (cherry picked from commit a05e0ef72fdbac1666684cdbd7c40e6252a458ae) --- stable/CM-Configuration-Management/policy-namespace.yaml | 1 + .../SC-System-and-Communications-Protection/policy-scc.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/stable/CM-Configuration-Management/policy-namespace.yaml b/stable/CM-Configuration-Management/policy-namespace.yaml index e6d457f2..619269c4 100644 --- a/stable/CM-Configuration-Management/policy-namespace.yaml +++ b/stable/CM-Configuration-Management/policy-namespace.yaml @@ -24,3 +24,4 @@ spec: kind: Namespace # must have namespace 'prod' apiVersion: v1 metadata: + name: prod diff --git a/stable/SC-System-and-Communications-Protection/policy-scc.yaml b/stable/SC-System-and-Communications-Protection/policy-scc.yaml index 42a1b845..cd06bc18 100644 --- a/stable/SC-System-and-Communications-Protection/policy-scc.yaml +++ b/stable/SC-System-and-Communications-Protection/policy-scc.yaml @@ -1,7 +1,7 @@ apiVersion: policy.open-cluster-management.io/v1 kind: Policy metadata: - name: policy-securitycontextconstraints + name: policy-scc annotations: policy.open-cluster-management.io/standards: NIST SP 800-53 policy.open-cluster-management.io/categories: SC System and Communications Protection @@ -14,7 +14,7 @@ spec: apiVersion: policy.open-cluster-management.io/v1 kind: ConfigurationPolicy metadata: - name: policy-securitycontextconstraints-example + name: policy-scc-example spec: remediationAction: inform # the policy-template spec.remediationAction is overridden by the preceding parameter value for spec.remediationAction. severity: high