A CVE alert whose VEX statement is not_affected or fixed (by a person, by
the scan from Yocto CVE_STATUS / CVE: patches, or imported OpenVEX) still
raised a notification and opened or kept a tracker issue.
- core: CveAlert::is_resolved_by_vex (via VexStatus::resolves), plus
OpenVEX names for statuses and justifications.
- vex_lifecycle::attach_stored_vex gives the scan's alerts (which carry no
VEX) the statement stored on the alert.
- cve_notify::notify_new_cves: one notification path for the scans (code and
PLC control-app) and the hourly CVE monitor; skips settled alerts.
- The code pipeline now notifies after the Yocto statements are applied, so a
recipe's not_affected suppresses the notification on the first scan too.
- cve_issues: no issue for a settled CVE; an open one is closed with a
comment naming the VEX status and justification (not gated on a complete
scan); a withdrawn statement reopens the same issue.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p