aquasecurity / trivy

Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
https://aquasecurity.github.io/trivy
Apache License 2.0
22.1k stars 2.18k forks source link

perf(debian): split fs walk between info and status files #7082

Open paulcacheux opened 3 days ago

paulcacheux commented 3 days ago

Description

This PR improves the dpkg analyzer by ensuring only interesting files are opened and scanned, and not all files in the FS. To do this, this PR splits the walk dir operation into:

Related issues

Related PRs

Remove this section if you don't have related PRs.

Checklist