Creating and auto-closing security tickets based on VulnerabilityReports in Trivy Operator #1273
Unanswered
exiett
asked this question in
Help & Support
Replies: 2 comments 2 replies
-
By the way, there's a similar discussion opened in Aqua's Slack, refer to it here: https://aquasecurity.slack.com/archives/C03L2H45L3H/p1685984298406179 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@exiett One way to work it out is to sign (hash) the report data and include it in Vulnerability CRD labels. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently facing a challenge regarding the management of security tickets based on VulnerabilityReports generated by the Trivy Operator inside the cluster.
Opening security tickets is not an issue, as the operator has the
webhookUrl
parameter that sends the issue information in JSON format, making it possible to create a security ticket based on that info. The main problem I am encountering is how to auto-close these issues after the scan runs again and doesn't detect the vulnerability anymore.My main point of doubt is what exactly happens after the scan doesn't detect the vulnerability in runtime anymore; if the VulnerabilityReport keeps it's
uid
and updates thevulnerabilities
list in the JSON to an empty list or if there is another completely different VulnerabilityReport generated informing that the resource is no longer vulnerable. I was thinking about binding the security ticket to theuid
but I've also noticed that each VulnerabilityReports receives two different UIDs:Ideally, I would like to find an agnostic solution that does not depend on Postee or Prometheus. However, if there isn't any other way to achieve this, I am open to working with any solution as middleware.
I would greatly appreciate any guidance or examples on how you do this.
Thank you in advance for your help and support.
Beta Was this translation helpful? Give feedback.
All reactions