• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • Observability Sprint 2023-09

      Here is the design document: https://docs.google.com/document/d/1IPpQ7j9sX9K7Hkj7EYkgKQB3kEKGRMsuKw5pdFwVEGk/edit#

      Thanks jbanerje@redhat.com 

       

      We will implement it with a simple logic:

      if the compliance status is changed in the past day, then we treat the policy compliance status is non-compliant. (note: skip the first time changing from non-compliant to compliant).

      more specific implementation is the compliance column value in local_status.compliance_history is based on compliance_changed_frequency.

      if compliance_changed_frequency is greater than 0, it is non-compliant.

      if compliance_changed_frequency is equal to 0, it is compliant.

      We need to set the correct value for compliance_changed_frequency based on the policy events.

              rh-ee-myan Meng Yan
              clyang82 Chunlin Yang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: