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

Add option to log the diff for a noncompliant ConfigurationPolicy

XMLWordPrintable

    • GRC Sprint 2023-23, GRC Sprint 2024-01, GRC Sprint 2024-02
    • No

      Value Statement

      As a policy user, I want to know why my configuration policy is noncompliant when I think it should be compliant.

      Definition of Done for Engineering Story Owner (Checklist)

      • Add an optional field of `spec.object-templates[*].recordDiff`that has the options of `Log` and `None`. It would default to the `None` behavior when not specified.
      • When a configuration policy object template is not compliant, even if it will be updated with enforce, a diff in YAML format should be shown in the logs (similar format to the `diff` CLI tool) when recordDiff is set to `Log`.

      Development Complete

      • The code is complete.
      • Functionality is working.
      • Any required downstream Docker file changes are made.

      Tests Automated

      • [ ] Unit/function tests have been automated and incorporated into the
        build.
      • [ ] 100% automated unit/function test coverage for new or changed APIs.

      Secure Design

      • [ ] Security has been assessed and incorporated into your threat model.

      Multidisciplinary Teams Readiness

      Support Readiness

      • [ ] The must-gather script has been updated.

              rh-ee-dhaiduce Dale Haiducek
              mprahl Matthew Prahl
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: