aquasecurity / trivy-operator

Kubernetes-native security toolkit
https://aquasecurity.github.io/trivy-operator/latest
Apache License 2.0
1.29k stars 213 forks source link

feat: add package purl in VulnerabilityReport CRD #2311

Closed hown3d closed 1 day ago

hown3d commented 1 week ago

Description

This adds package url (pURL) information into the vulnerability report CRD. Having the pURL here defines a clear definition of which package this report is actually generated. Also the pURL can be used much better to integrate into other systems. Since this information is in the trivy scan result anyways it's beneficial to include it in the CR too.

Checklist

CLAassistant commented 1 week ago

CLA assistant check
All committers have signed the CLA.

afdesk commented 2 days ago

@hown3d could you update the PR with the base branch? it should help with tests. thanks!

simar7 commented 2 days ago

@hown3d could you update the PR with the base branch? it should help with tests. thanks!

@afdesk I just did that but it seems tests are still red.

afdesk commented 1 day ago

@hown3d could you update the PR with the base branch? it should help with tests. thanks!

@afdesk I just did that but it seems tests are still red.

thanks! I'll take a look

afdesk commented 1 day ago

@simar7 the tests are passed could you take another look? thanks

afdesk commented 1 day ago

@hown3d thanks!