aquasecurity / starboard

Moved to https://github.com/aquasecurity/trivy-operator

Home Page:https://aquasecurity.github.io/starboard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add compliance check default status

chen-keinan opened this issue · comments

commented

The requirement:
Add compliance check default status.

Details:
As part of the compliance check starboard, it requires validating the existence of a resource.
The Operator is an event-based system, therefore we can't query for resource existence we only react to events.

Adding a default status to compliance checks (optional) will help to sort out the check for the resource existence, meaning if starboard didn't get an event for a specific resource and the default status is marked as fail, then the compliance check will be marked as fail as a resource does not exist.

If starboard got an event for resources, the default status can be ignored and the compliance check result will be determined base on the resource scanning result
Fixed by: #1030