Advisory subscriptions
Consume the signed advisory feeds by reader, email digest or signed webhook, and verify the signature before any downstream system acts on an alert.
Admin guide Β· advisory subscription runbook
| When to use | Before you start | Steps | Verify | Roll back |
|---|---|---|---|---|
| Wiring CMDB, ticketing or email to advisories | Feed URLs and the signing public key known | Generate feeds, subscribe, replay a signed event | Self-test clean, replay rejected when tampered | Remove the subscriber or webhook, keep the feed |
When to use
Use this runbook when a team needs advisory notifications without browsing the bulletin, or when a CMDB must open a ticket from a signed advisory event.
Before you start
scripts/security/gen_feeds.pyrenders the canonical feeds;scripts/security/subscriptions_selftest.pyexercises signing, replay protection, subscriber privacy and webhook delivery in one local pass.- Signing and replay checks live in
scripts/security/sub_crypto.py; delivery and digests inscripts/security/sub_webhook.pyandscripts/security/sub_digest.py. - A webhook consumer must verify the signature and reject a replayed event; an unsigned event is not an advisory.
Steps
# 1. Generate the canonical feeds.
python3 scripts/security/gen_feeds.py --out /tmp/security-feeds
# 2. Confirm the site page still points at those feeds.
python3 scripts/security/gen_feeds.py --check-head website/security/index.html
# 3. Run every subscription self-test (signing, replay, privacy, digest, webhook).
python3 scripts/security/subscriptions_selftest.py
Configure a feed reader against the generated Atom/CSAF output, add a digest recipient for teams that prefer email, and register a webhook only with a consumer that checks the signature. Keep the subscriber list out of the advisory record; privacy of subscribers is part of the self-test.
Verify
| Check | Command | Pass condition |
|---|---|---|
| Feeds generated | python3 scripts/security/gen_feeds.py --out /tmp/security-feeds |
exit 0 |
| Site head | python3 scripts/security/gen_feeds.py --check-head website/security/index.html |
exit 0 |
| Signing and replay | python3 scripts/security/subscriptions_selftest.py |
all labelled checks pass |
| Webhook | signed replay of one event | duplicate rejected |
Roll back
π΄ Remove the subscriber or webhook registration and keep the feed in place; feeds are derived from the source and can be regenerated at any time. An alert already delivered is corrected through incident response, not by editing the feed.