feat(csaf): count a target's supplier advisories, with the provider's last read (#1025) #1034

Merged
sharang merged 2 commits from feat/supplier-advisory-status into main 2026-11-17 09:51:46 +00:00
2 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 b1aa992f1c fix(api): the supplier advisories route describes its enveloped answer (#1025)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m19s
CI / Check (pull_request) Successful in 21m17s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-17 10:30:03 +01:00
Sharang ParnerkarandClaude Opus 5.5 adf8af5392 feat(csaf): count a target's supplier advisories, with the provider's last read (#1025)
The target editor shows how many of the supplier's CSAF advisories are
kept and when its provider was last read. The newest fetched_at only
says when an advisory last changed, and a provider that cannot be read
would look like one without advisories, so each refresh now keeps a
status per provider (supplier_csaf_providers: checked_at, reachable).

GET /api/v1/targets/{id}/supplier-advisories returns the count and that
status, or null for a target without a supplier CSAF provider.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-17 10:30:03 +01:00