mirror of
https://github.com/DependencyTrack/dependency-track.git
synced 2026-04-17 23:40:19 +00:00
* Where possible, enriches an affected package's PURL with `distro` qualifier inferred from the package's `ecosystem`. e.g. `ecosystem=Debian:7` becomes `distro=debian-11`, `ecosystem=Ubuntu:20.04:LTS` becomes `distro=ubuntu-20.04` etc. * During vulnerability analysis, if both component and matching criteria have a PURL `distro` qualifier, ensures they match. Matching can handle codename <-> version comparisons, e.g. for Ubuntu `focal` would match `20.04` and vice versa. * Generally improves performance of OSV mirroring by using fewer transactions and disabling ORM features that caused expensive unnecessary queries. Currently Alpine, Debian, and Ubuntu distribution matching is implemented. These seem to work for SBOMs generated with Trivy and Syft. The codename <-> version mapping is currently hardcoded for Debian and Ubuntu. There is a fallback mechanism that will handle exact matches, such that when Debian publishes a hypothetical "foo" release, we can still match components with vulnerabilities if both `distro` qualifiers are exactly "foo". Debian and Ubuntu provide CSV which we could regularly fetch at runtime, but this involves more work to coordinate. Fixes https://github.com/DependencyTrack/dependency-track/issues/1374 Fixes https://github.com/DependencyTrack/dependency-track/issues/5776 Fixes https://github.com/DependencyTrack/dependency-track/issues/4445 Fixes https://github.com/DependencyTrack/dependency-track/issues/4725 Signed-off-by: nscuro <nscuro@protonmail.com> |
||
|---|---|---|
| .. | ||
| monitoring | ||
| scripts | ||
| docker-compose.monitoring.yml | ||
| docker-compose.mssql.yml | ||
| docker-compose.mysql.yml | ||
| docker-compose.postgres.yml | ||
| docker-compose.trivy.yml | ||
| docker-compose.yml | ||