Distro: Debian
Add support for ingesting AlmaLinux into the command line component for vuln-list ingestion.
NOTE: A CVE may not exist (yet) for every advisory found in this data store. Importing the DLA/DSA advisories may be needed in some cases.
Trivy Ingestion Code
Ingestion
Debian ingestion is more complicated than other distro's. Several folders of data are loaded and processed in a specific order (code here). It's recommended to take a read through the code before implementing.
- Parse
distributions.json(always parse) - Parse
source/**.json(always parse) - Parse
updated-source/**.json(always parse) - Parse
CVE/*.json(can parse just changed, updated files here) - Parse
DLA/*.json(can parse just changed, updated files here) - Parse
DSA/*.json(can parse just changed, updated files here)
- Remove/skip
not-affected,undetermined,removed- When these statuses are found, remove advisory if it already exists in the DB
- Mapping severity from urgency:
-
not yet assigned,end-of-life--> Unknown -
unimportant,low,low*,low**--> Low -
medium,medium*,medium**--> Medium -
high,high*,high**--> High
-
- Fixed Version
- Logic for fixed version is shown here
- Fixed version logic called from here.
Edited by Michael Eddington