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

Analyze vulnerabilities for rpm packages in RedHat or CentOS operating systems #3991

Open
2 tasks done
qiaozhi199 opened this issue Jul 22, 2024 · 1 comment
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@qiaozhi199
Copy link

Current Behavior

I collected the sbom of all rpm packages in the CentOS system through the syft(https://github.com/anchore/syft) tool, the format of the sbom file is cyclonedx-json, then I upload the sbom file to the Dependency-Track.
I found that Dependency Track could only analyze very few vulnerabilities on individual rpm packages.
Snipaste_2024-07-22_11-42-32

However, I used the grype(https://github.com/anchore/grype) tool to perform vulnerability scanning locally and was able to scan over 10,000 vulnerabilities.
# grype sbom:./only-rpm-sbom-by-syft.json -o cyclonedx-json --file rpm-vulnerabilities.json ✔ Vulnerability DB [updated] ✔ Scanned for vulnerabilities [15862 vulnerability matches] ├── by severity: 11 critical, 724 high, 9902 medium, 6470 low, 0 negligible (49 unknown) └── by status: 5934 fixed, 11222 not-fixed, 1294 ignored

I found the following vulnerability databases supported by grype:
image
https://github.com/anchore/grype?tab=readme-ov-file#grypes-database

Dependency-Track whether it supports distributions such as RedHat, or planned to be supported?

Proposed Behavior

I hope that Dependency Track can analyze more vulnerabilities for rpm packages like grype did.

Checklist

@qiaozhi199 qiaozhi199 added the enhancement New feature or request label Jul 22, 2024
@DavidJuanes
Copy link

FWIW, I achieved similar scanning requirements by using Trivy analyser.

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

2 participants