Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-12563

[RFE] Add setting name on ConfigurationPolicy in PolicyGenerator

XMLWordPrintable

    • 2
    • False
    • None
    • False
    • Hide

      Provide the required acceptance criteria using this template.
      * ...
      Show
      Provide the required acceptance criteria using this template. * ...
    • ACM-8995 - [RFE] Add setting name on ConfigurationPolicy in PolicyGenerator
    • GRC Sprint 2024-13, GRC Sprint 2024-14, GRC Sprint 2024-15
    • No

      When creating a policy with multiple manifests and `consolidateManfifest: false` the generated ConfigurationPolicies are names after the Policy with an index appended.

      This causes issues when attempting to use extraDependencies such as below.  Adding an additional manifest will change the index causing the existing dependencies to be incorrect.

      Allowing setting the name would also make it easier to identify in the UI when reviewing a policy.

        - name: acs-operator
          remediationAction: enforce
          policySets: 
            - acs-operator-hub
            - acs-operator-managed
          manifests: 
            - path: ns-rhacs-operator.yml
            - path: ns-stackrox.yml
            - path: operatorgroup.yml
              extraDependencies: 
                - name: acs-operator
                  kind: ConfigurationPolicy
                  compliance: "Compliant"
            - path: subscription.yml
              extraDependencies: 
                - name: acs-operator
                  kind: ConfigurationPolicy
                  compliance: "Compliant"
            - path: health/operator/operator-status.yml
              remediationAction: inform
              extraDependencies: 
                - name: acs-operator3
                  kind: ConfigurationPolicy
                  compliance: "Compliant"
                - name: acs-operator4
                  kind: ConfigurationPolicy
                  compliance: "Compliant"
      

            yikim@redhat.com Yi Rae Kim
            rhn-support-bjarvis Brian Jarvis
            Derek Ho Derek Ho
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: