Skip to content

Private Atom/RSS feed for org incidents and events (secret-URL, iCal-feed pattern) #1014

Done

Description

@fclairamb

Requested by Florent (2026-11-24): RSS on the status page, and a private feed for incidents and events.

What already exists (checked on main):

  • Per-status-page public Atom feed: GET /api/v1/public/orgs/status-pages/:org/:slug/feed.xml (statussubscribers.Handler.Feed) — the status-update timeline of the page.
  • It respects visibility: statuspagelock.Visible(page) gates it; a password-protected page's feed is readable with the unlock cookie (browser unlock carries over), cache-control follows visibility (feed_cache_test.go). Private pages expose nothing.
  • Email/RSS subscriptions to status pages (same handler).
  • On-call iCal feed: GET /api/v1/on-call-schedules/:secret/feed.ics with enable/disable/rotate — secret-in-URL, no auth middleware, because calendar/feed clients can't bear tokens.

The gap (the actual request): an org-level private Atom/RSS feed of incidents and events — including incidents never published to a status page — for internal consumption (feed reader, NOC wall, automation). Today the only feeds are per-public-page timelines; there is no authenticated org-wide incident/event stream.

Proposed shape (bounded, reuses two existing patterns):

  1. Org-level feed endpoint, secret-in-URL like the iCal feed: GET /api/v1/orgs/:org/incidents-events/:secret/feed.xml (or a query-token variant), with enable/disable/rotate management endpoints mirroring orgOnCall.POST("/:uid/ical-feed/{enable,disable,rotate}").
  2. Content: incident lifecycle (opened, updated, resolved) across the org, published or not, plus check/events stream entries; Atom serialization reused from statussubscribers.Feed.
  3. Dashboard: a toggle + copy-URL + rotate in org settings, next to the kiosk/iCal tokens.
  4. Docs: feed URL format, secret rotation, and the visibility distinction vs the public page feed.

Open questions: events scope (audit events vs check state changes vs both), retention window of the feed, per-org quota (one secret or several, like kiosk tokens).

Source: Florent, SP.B chat 2026-11-24.

Activity

  1. added
    converted-to-spec
    on Nov 24, 2026
  2. fclairamb commented on Nov 24, 2026

    @fclairamb
    OwnerAuthor

    Converted to a spec: specs/todos/2026-11-24-12-org-incident-event-feed.md (opus/high). Why: it needs a DB migration (feed secrets), new endpoints and OpenAPI changes, and its authorization scope is sensitive: an unauthenticated URL exposing org-internal incidents. The open questions (event scope, retention, number of feeds) come with recommended answers. Not implemented yet: closing because the spec now tracks it.

  3. fclairamb commented on Nov 24, 2026

    @fclairamb
    OwnerAuthor

    autopilot: in #1017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    autopilotconverted-to-spec

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions