feat(updates): the CVEs a host's installed advisories close (4.37.0) #111

Merged
christianmanivong merged 1 commits from feature/installed-advisories into main 2026-11-12 11:12:54 +00:00
Owner

For NetOrk/netork#2394.

  • UpdateMixin.get_installed_advisory_cves() (declared): per package, the CVEs the host's installed security advisories close.
  • DNF_INSTALLED_CVES_COMMAND (dnf --cacheonly updateinfo list --installed --with-cve, dnf 4) and parse_dnf_installed_cves(), shared by every dnf driver like the security read. Parser tested on real output from Oracle Linux 9.8 and Amazon Linux 2023; a failed dnf or output without its exit status raises.
  • dnf 5 reads --with-cve as a filter and Fedora's advisories reference bugs, not CVEs: documented, not supported.

netOrk reads it only where its knowledge base has no records of the release (the answer is 91 263 lines on an Oracle Linux 9 host).

Version 4.37.0. ruff, mypy, pytest: 1624 passed, 3 skipped.

For NetOrk/netork#2394. - `UpdateMixin.get_installed_advisory_cves()` (declared): per package, the CVEs the host's installed security advisories close. - `DNF_INSTALLED_CVES_COMMAND` (`dnf --cacheonly updateinfo list --installed --with-cve`, dnf 4) and `parse_dnf_installed_cves()`, shared by every dnf driver like the security read. Parser tested on real output from Oracle Linux 9.8 and Amazon Linux 2023; a failed dnf or output without its exit status raises. - dnf 5 reads `--with-cve` as a filter and Fedora's advisories reference bugs, not CVEs: documented, not supported. netOrk reads it only where its knowledge base has no records of the release (the answer is 91 263 lines on an Oracle Linux 9 host). Version 4.37.0. ruff, mypy, pytest: 1624 passed, 3 skipped.
christianmanivong added 1 commit 2026-11-12 11:10:06 +00:00
feat(updates): the CVEs a host's installed advisories close (4.37.0)
driver / standard (pull_request) Successful in 16s
driver / lint (pull_request) Successful in 15s
driver / types (pull_request) Successful in 1m2s
driver / test (3.13) (pull_request) Successful in 1m11s
driver / test (3.12) (pull_request) Successful in 1m24s
driver / lowest (pull_request) Successful in 40s
driver / build (pull_request) Successful in 28s
driver / security (pull_request) Successful in 1m0s
CI / driver (pull_request) Successful in 2m29s
driver / publish (pull_request) Skipped
f3cb3601a8
UpdateMixin declares get_installed_advisory_cves(): per package, the CVEs
the installed security advisories close -- the distribution's word that a
backport is in although the upstream version did not move. The command
(DNF_INSTALLED_CVES_COMMAND, dnf 4, from the cache) and its parser
(parse_dnf_installed_cves) live here for every dnf driver, as the
security read's do. netOrk reads it where its knowledge base holds no
records of the host's release (NetOrk/netork#2394).
christianmanivong merged commit 5258a43dc9 into main 2026-11-12 11:12:54 +00:00
christianmanivong deleted branch feature/installed-advisories 2026-11-12 11:12:54 +00:00
Sign in to join this conversation.