BenEgeIzmirli / Whittler

MIT License
7 stars 2 forks source link

Add support for filtering trivy output for misconfigs and vulns #30

Closed alm0st907 closed 2 years ago

alm0st907 commented 2 years ago

Wrote this module as part of current work. Figured it may be useful to add to the project.

BenEgeIzmirli commented 2 years ago

Does this need both the trivy-conf and trivy-vulns modules? They look very similar

alm0st907 commented 2 years ago

@BenEgeIzmirli There might be a way to merge them, but I took the path of least resistance at the time. Trivy seems to produce essentially two different schemas, one for vulnerabilities and one for misconfigurations. If the two did get merged, entries would have a lot of N/A fields between them. I'm all ears for another way to approach this and make it better.