mirror of
https://github.com/usestrix/strix.git
synced 2026-11-02 07:12:37 +00:00
chore(report): log the confirmed-in-range emit so the check is observable in scan logs
An in-range (real) finding was emitted silently, giving a scan log no evidence the version-range check ran. Add an INFO line on the confirmed-emit path, mirroring the reject / coverage-gap logs.
This commit is contained in:
parent
1b850d3f6c
commit
8af0d81418
1 changed files with 2 additions and 0 deletions
|
|
@ -157,6 +157,8 @@ def verify_dependency( # noqa: PLR0911 — the returns are deliberate fail-open
|
|||
if affecting is None:
|
||||
return None # provider couldn't answer → fail open, emit
|
||||
if ident in affecting:
|
||||
logger.info("dep-verify: %s confirmed in range for %s@%s; emitting (real)",
|
||||
ident, pkg, version)
|
||||
return None # confirmed: installed version IS in the CVE's range → emit (real)
|
||||
if not affecting:
|
||||
# definitive "no advisories affect this version" is still a coverage-gap
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue