Found while pre-verifying test plan check 36 locally on the build stage runs (8ea3731).
Bug
The CSAF advisories match: on the synthetic CODESYS target, 25 alerts gain an advisory link and fixed versions. But every remediation came out empty. CERT@VDE's vendors name a remediation's products through group_ids, which point into product_tree.product_groups (e.g. CSAFGID-1001 → CSAFPID-51001…51003). The reader only took product_ids, so no remediation matched the affected product.
Fix
csaf_ingest: remediations resolve group_ids through the product groups.
csaf_ingest::PARSER_VERSION = 2 records how an advisory was read.
csaf_feed: stored rows carry parser. A row read by an older version counts as unknown, so the next refresh re-fetches and re-reads it; stage's already-indexed advisories are corrected without manual steps. Providers are read in order, CERT@VDE's vendors before Siemens, so CODESYS's 36 are re-read in the first run (cap 400). Siemens follows over the next runs.
The synthetic VDE-shaped fixture now names its remediation through a group, like the real advisories. The parser test and the matcher test (remediation vendor_fix: Update to version 3.5.22.40.) cover it.
Checks
core csaf_ingest and agent csaf_* tests pass.
clippy -D warnings for core and agent.
I'll re-check on stage once it's deployed. The re-read happens in the refresh 2 minutes after the agent starts; check 36 then shows the remediation on hover. Stage only; no tag.
Found while pre-verifying test plan check 36 locally on the build stage runs (8ea3731).
## Bug
The CSAF advisories match: on the synthetic CODESYS target, 25 alerts gain an advisory link and fixed versions. But **every remediation came out empty**. CERT@VDE's vendors name a remediation's products through `group_ids`, which point into `product_tree.product_groups` (e.g. `CSAFGID-1001` → `CSAFPID-51001…51003`). The reader only took `product_ids`, so no remediation matched the affected product.
## Fix
- `csaf_ingest`: remediations resolve `group_ids` through the product groups.
- `csaf_ingest::PARSER_VERSION = 2` records how an advisory was read.
- `csaf_feed`: stored rows carry `parser`. A row read by an older version counts as unknown, so the **next refresh re-fetches and re-reads it**; stage's already-indexed advisories are corrected without manual steps. Providers are read in order, CERT@VDE's vendors before Siemens, so CODESYS's 36 are re-read in the first run (cap 400). Siemens follows over the next runs.
- The synthetic VDE-shaped fixture now names its remediation through a group, like the real advisories. The parser test and the matcher test (remediation `vendor_fix: Update to version 3.5.22.40.`) cover it.
## Checks
- core `csaf_ingest` and agent `csaf_*` tests pass.
- clippy `-D warnings` for core and agent.
I'll re-check on stage once it's deployed. The re-read happens in the refresh 2 minutes after the agent starts; check 36 then shows the remediation on hover. Stage only; no tag.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
Found in the pre-verification of the staging test plan (check 36): every
CODESYS alert from a CSAF advisory came without the vendor's remediation.
CERT@VDE's vendors name a remediation's products through `group_ids`
(product_tree.product_groups), and the reader only took `product_ids`.
- csaf_ingest: remediations resolve their group_ids through the product
groups. PARSER_VERSION (2) records how advisories were read.
- csaf_feed: stored rows carry the parser version; a row read by an older
one counts as unknown, so the next refresh fetches and reads it again
(CERT@VDE's providers come before Siemens, so CODESYS's 36 are re-read in
the first run).
- The synthetic VDE-shaped fixture names its remediation through a group,
as the real ones do; the matcher test's remediation assertion now covers
it.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Found while pre-verifying test plan check 36 locally on the build stage runs (
8ea3731).Bug
The CSAF advisories match: on the synthetic CODESYS target, 25 alerts gain an advisory link and fixed versions. But every remediation came out empty. CERT@VDE's vendors name a remediation's products through
group_ids, which point intoproduct_tree.product_groups(e.g.CSAFGID-1001→CSAFPID-51001…51003). The reader only tookproduct_ids, so no remediation matched the affected product.Fix
csaf_ingest: remediations resolvegroup_idsthrough the product groups.csaf_ingest::PARSER_VERSION = 2records how an advisory was read.csaf_feed: stored rows carryparser. A row read by an older version counts as unknown, so the next refresh re-fetches and re-reads it; stage's already-indexed advisories are corrected without manual steps. Providers are read in order, CERT@VDE's vendors before Siemens, so CODESYS's 36 are re-read in the first run (cap 400). Siemens follows over the next runs.vendor_fix: Update to version 3.5.22.40.) cover it.Checks
csaf_ingestand agentcsaf_*tests pass.-D warningsfor core and agent.I'll re-check on stage once it's deployed. The re-read happens in the refresh 2 minutes after the agent starts; check 36 then shows the remediation on hover. Stage only; no tag.
🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p