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

Support EPSS Score and EPSS Percentile for Aqua scan #10849

Closed
mahesh-ppro opened this issue Sep 3, 2024 · 4 comments
Closed

Support EPSS Score and EPSS Percentile for Aqua scan #10849

mahesh-ppro opened this issue Sep 3, 2024 · 4 comments

Comments

@mahesh-ppro
Copy link

I was exploring the features of defectdojo and particularly looking for AQUASEC related scans. The scan downloaded from aqua contains the epss_score and epss_percentile fields. But when we upload the scan to defectdojo those fields get ignored. Is there a feature request for this already raised and tracked anywhere else. If not it would be great if we can get support for this.

@mtesauro
Copy link
Contributor

mtesauro commented Sep 3, 2024

I suspect that the parser for Aquasec was written before they started adding those into their tool's output.

Looking at the parser code and the most recent files used for unit tests, I don't see anything for EPSS.

If you can provide a sanitized example output from Aquasec, that will make it possible for someone to update how that parser works assuming you're not able to be a PR yourself.

Would be thrilled with a PR if you're able, look here for details:

@mtesauro
Copy link
Contributor

mtesauro commented Sep 3, 2024

BTW, EPSS is stored in DefectDojo when a tool provides it (and the parser knows to extract it)

https://github.com/DefectDojo/django-DefectDojo/blob/master/dojo/models.py#L2275

@kiblik
Copy link
Contributor

kiblik commented Sep 3, 2024

I noticed that since #10611 (#10616), we have available example file with epss_score and epss_percentile: https://github.com/search?q=repo%3ADefectDojo%2Fdjango-DefectDojo+path%3A%2F%5Eunittests%5C%2Fscans%5C%2Faqua%5C%2F%2F+epss_score&type=code

I believe some good soul might help here to extent the existing parser.

manuel-sommer added a commit to manuel-sommer/django-DefectDojo that referenced this issue Sep 3, 2024
Maffooch pushed a commit that referenced this issue Sep 6, 2024
* ✨ add epss for aqua parser #10849

* add unittest

* fix unittest
@manuel-sommer
Copy link
Contributor

Could you close this issue please?

@mtesauro mtesauro closed this as completed Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants