Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Support for Clustercompliancereports #60

Open
Pionerd opened this issue Mar 10, 2024 · 4 comments
Open

[Enhancement] Support for Clustercompliancereports #60

Pionerd opened this issue Mar 10, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@Pionerd
Copy link
Contributor

Pionerd commented Mar 10, 2024

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

@Pionerd Pionerd added the enhancement New feature or request label Mar 10, 2024
@rndmh3ro
Copy link
Collaborator

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.

@rndmh3ro
Copy link
Collaborator

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.

@szEvEz
Copy link
Collaborator

szEvEz commented Apr 14, 2024

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.

@NumenDivinum
Copy link

NumenDivinum commented Nov 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants