Open Pionerd opened 8 months ago
Thanks for the kind words and the request. :)
I don't know why I didn't include this one. I'll have to check and include it, if it works.
I checked, why this isn't included and the answer is that the trivy-operator
-parser does not support ClusterComplianceReports. Someone would need to add it there, before we can add it to thew operator.
Looks like it's implemented and released with version https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.33.0. So we can start the implementation here.
It seems that the report type name should just be added to the list in src/handlers.py:
allowed_reports: list[str] = [ "configauditreports", "vulnerabilityreports", "exposedsecretreports", "infraassessmentreports", "rbacassessmentreports", ]
.. and to settings.REPORTS
Description
First of all, thank you for this great operator.
From the available CRDs, you support most, but support for the
ClusterComplianceReports
is still missing (https://aquasecurity.github.io/trivy-operator/v0.18.5/docs/crds/clustercompliance-report/)Additional information
No response