compliance-operator icon indicating copy to clipboard operation
compliance-operator copied to clipboard

[WIP] Add timestamp annotation

Open SimonBaeumer opened this issue 9 months ago • 2 comments

Add timestamp annotation to CheckResult objects. The goal is to be able to identify when a ComplianceScan is done and has successful update all CheckResults. Additionally, from a client perspective I want to be able to identify when I received all updated CheckResults. Prior to this change it was not possible to know when a check was done if the result didn't changed.

Specification:

  • Add compliance.openshift.io/last-scanned-timestamp to CheckResult object
  • compliance.openshift.io/last-scanned-timestamp annotation is always updated
  • CheckResult objects are updated, even if the Result did not changed.

SimonBaeumer avatar May 03 '24 08:05 SimonBaeumer