Repository navigation
chore(appsec): support overriding the SCA CVE data file - #21534
Conversation
Codeowners resolved asResolved from the full PR diff against |
Dependency direction analysis
|
🎉 All green!🧪 All tests passed 🔗 Commit SHA: c665473 | Docs | View more details | Give us feedback! |
BenchmarksBenchmark execution time: 2026-11-06 10:09:19 Comparing candidate commit c665473 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 578 metrics, 10 unstable metrics, 1 flaky benchmarks without significant changes.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
More details
The override preserves existing version filtering and SCA enablement behavior. Unreadable or malformed override files intentionally yield no targets without falling back to the bundled catalog; no reportable defect was identified.
🤖 Bits Code Review · Commit 932c6fa
932c6fa to
c665473
Compare
Description
Add
_DD_APPSEC_SCA_CVE_FILEto load SCA vulnerability targets from a local JSON file instead of the bundled catalog. This enables synthetic test advisories and catalog updates without changing the tracer package. The override uses the existing loader and version filtering, replaces the bundle without merging, and does not enable SCA.Testing
All 131 SCA tests pass on Python 3.14, including override, version filtering, empty catalog, and missing or malformed file cases. Full lint checks and configuration registry validation pass. No benchmark scenario specifically exercises CVE file loading, so startup performance was not measured.
Risks
An unreadable override or invalid JSON loads no targets and does not fall back to the bundle. An unset variable preserves the bundled catalog.