scan: report .vex/ files and print VEX re-checks; vex: action for the central VEX repo

dtrack-panel now applies OpenVEX / CycloneDX VEX files as well as
osv-scanner.toml [[IgnoredVulns]], and sends a statement's findings back to
IN_TRIAGE when its review date passes, the package version moves on, or the
CVE turns KEV. scan sends .vex/**/*.json with the report and turns the
panel's answer into job annotations (re-check due, review date within 14
days, skipped statements). vex/ posts a whole repo's VEX files to
/panel-ci/vex for statements about third-party images.
This commit is contained in:
janhouse committed 2026-11-19 10:55:07 +02:00
1 parent f9e42005ba
commit 2b4b140200
3 files changed
+107 -12

No files matched your search

+18 -2
View File
@@ -38,6 +38,22 @@ reports to dtrack-panel which images the repo builds and its
`osv-scanner.toml` `[[IgnoredVulns]]`. The panel's auto-triage then marks
those NOT_AFFECTED in Dependency-Track — for the CI project and for the app's
own dependency tree in the running images — and closes CI-project findings for
dependencies that never reach the image (dev/build-time). Inputs and an example
are in `scan/action.yml`. Authenticates with the same
dependencies that never reach the image (dev/build-time). VEX files under
`.vex/` (OpenVEX or CycloneDX VEX, `*.json`) are reported too. Inputs and an
example are in `scan/action.yml`. Authenticates with the same
`DEPENDENCY_TRACK_API_KEY` the upload uses; no extra secret.
Every decision holds for the package versions present when it was written,
until its `ignoreUntil` / `review_by` (default 90 days after it was added or
last changed), and while the CVE is not known-exploited (CISA KEV). Then the
panel reopens the findings (IN_TRIAGE) and the job log warns "VEX re-check
due". Re-check; editing the entry (e.g. a new `ignoreUntil`) re-confirms it.
## `vex` — the central VEX repo
`uses: https://git.janhouse.lv/janhouse/sbom-tools-action/[email protected]` posts every
`*.json` under `vex/` (OpenVEX or CycloneDX VEX) to dtrack-panel
(`/panel-ci/vex`): statements about third-party images and packages, applied
to the images they name, or wherever the package appears. The repo's complete
set each run; a removed statement withdraws its decisions. A rejected file
(invalid JSON, `not_affected` without justification or reason) fails the job.