ALAS Processor — superseded
Superseded. This page described the ALAS ingestion model that commit
7003b49replaced on 2026-04-30. The live processor is documented at alas-rss-processor, whichscripts/task-manager.tomlnow points at. This page is kept, rather than deleted, because the source slugs it describes still hold 18,470 rows in production and someone will eventually go looking for them.
What changed
| Before 2026-04-30 | Now | |
|---|---|---|
CVEMetadata.source | one per release line — amazon-linux, amazon-linux-2, amazon-linux-2023 | a single amazon |
CVEMetadata.cveId | the CVE id (CVE-2024-56406) | the ALAS advisory id (ALAS2-2024-2475, ALAS2KERNEL-2024-…) |
| One row per | (CVE × release line) | advisory |
| CVE linkage | implicit, by primary key | explicit CVEAlias edges written by db.InsertAliases |
| Release line recorded in | the source slug | CVEAffected.collectionURL = AL1 / AL2 / AL2023 |
| Schedule | hourly | every 6 hours (cron(0 */6 * * ? *)) |
The new shape is the better one: an advisory is the unit Amazon actually publishes and revises, one advisory routinely covers several CVEs, and the same CVE fixed on two release lines becomes one alias graph instead of two competing authoritative rows.
The stranded rows
The change did not migrate what was already stored. Production still holds:
| source | rows | last write |
|---|---|---|
amazon-linux | 4,475 | 2026-04-30 |
amazon-linux-2 | 8,693 | 2026-04-30 |
amazon-linux-2023 | 5,302 | 2026-04-30 |
All 18,470 carry a title and an advisory reference and are frozen at the moment
of the cutover; none is a content-free shell. Nothing writes them any more, so
anything still querying those slugs — a dashboard filter, a saved query, an “is
this CVE fixed on AL2” check — reads three-month-old data that looks alive. They
remain reachable through the alias graph, because the new amazon rows alias the
same CVE ids and db.InsertAliases emits same-cveId cross-source edges, which
is exactly why the staleness is easy to miss.
This is the explanation for the three 98-day-stale amazon-linux* entries in the
corpus staleness census: not a broken fetch, a source rename with no migration.
Decide one of: delete the three slugs, or fold their CVEAffected /
CVEMetadataReferences children onto the corresponding amazon advisory rows.