feat(cve): notifications for the PLC control-app SBOM (shared helper) [#166] #173

Merged
sharang merged 1 commits from feat/plc-cve-notifications into main 2026-07-16 16:30:20 +00:00
Owner

Completes the CVE loop for #166 (tracker #167). The control-app SBOM path
stored CVE alerts but created no notifications, so CODESYS runtime/library CVEs
never rang the dashboard bell.

  • Factor the alert-upsert + notification-creation out of run_pipeline into a
    shared persist_cve_alerts(repo_id, repo_name, alerts) helper.
  • Call it from both the SAST pipeline and persist_control_app_sbom, so every
    SBOM source (source deps, firmware, CODESYS libraries/runtime) raises the same
    dedup'd CVE notifications.

Existing SAST behavior is unchanged (same logic, extracted); the PLC path gains
notifications. Full core+agent suites green; fmt + clippy clean.

🤖 Generated with Claude Code

Completes the CVE loop for **#166** (tracker **#167**). The control-app SBOM path stored CVE alerts but created no **notifications**, so CODESYS runtime/library CVEs never rang the dashboard bell. - Factor the alert-upsert + notification-creation out of `run_pipeline` into a shared `persist_cve_alerts(repo_id, repo_name, alerts)` helper. - Call it from **both** the SAST pipeline and `persist_control_app_sbom`, so every SBOM source (source deps, firmware, CODESYS libraries/runtime) raises the same dedup'd CVE notifications. Existing SAST behavior is unchanged (same logic, extracted); the PLC path gains notifications. Full core+agent suites green; fmt + clippy clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sharang added 1 commit 2026-07-16 16:22:53 +00:00
feat(cve): notifications for the PLC control-app SBOM (dedup shared helper)
CI / Check (pull_request) Successful in 5m16s
CI / Detect Changes (pull_request) Has been skipped
CI / Deploy Agent (pull_request) Has been skipped
CI / Deploy Dashboard (pull_request) Has been skipped
CI / Deploy Docs (pull_request) Has been skipped
CI / Deploy MCP (pull_request) Has been skipped
762bf0024d
The control-app SBOM CVE path (#166) stored alerts but created no notifications,
so CODESYS runtime/library CVEs never rang the dashboard bell.

Factor the alert-upsert + notification-creation out of run_pipeline into a shared
persist_cve_alerts(repo_id, repo_name, alerts) helper and call it from both the
SAST pipeline and persist_control_app_sbom. Now every SBOM source — source deps,
firmware, and CODESYS libraries/runtime — raises the same dedup'd CVE notifications.

Behavior for the existing SAST path is unchanged (same logic, extracted); the PLC
path additionally gains notifications. Completes the CVE loop for #166. Tracker #167.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sharang merged commit d2003eb3c0 into main 2026-07-16 16:30:20 +00:00
sharang deleted branch feat/plc-cve-notifications 2026-07-16 16:30:20 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sharang/compliance-scanner-agent#173