SLA
Resolution targets per severity, with optional overrides for P1 findings and CISA KEV due dates: every open finding gets a due date, the queue shows what is overdue or due soon, and resolved findings record their time to resolve and whether the SLA was met.
Overview
Each active finding has a due date (due_at) counted from the start of its SLA cycle: the first detection, or the latest reopening. The due date is the closest of the targets that apply to the finding. It is recomputed by the priority recomputation that already follows every scan, reopening and status change, so it also follows a severity change, a new priority band or a new KEV due date. Every change of due_at writes a system sla_updated event in the Finding Timeline (/docs/security/finding-timeline).
- Severity: Critical 24h, High 72h, Medium 7 days, Low 30 days; Info has no target
- Priority override: a P1 finding (/docs/security/priority-score) is due within 24h when that is closer
- KEV override: the CISA KEV due date (end of that day, UTC) when it is closer; a KEV due date before the start of the cycle is ignored
- Ties go to severity, then priority, then KEV
- Acknowledged does not pause the SLA

Policy
The policy is a single SlaPolicy record edited in the Django admin (Security → SLA policy): the hours per severity (at least 1), the P1 hours (empty: no P1 override) and whether the KEV due date applies. Without a saved policy the defaults above apply. Saving the policy queues a full recomputation (recompute_priorities without asset_ids), which updates every due_at with its sla_updated event; if the task cannot be queued the error is logged and the new targets apply at the next scan of each asset. The policy cannot be deleted, and it is not editable from the dashboard.
Queue and Dashboard
The SLA select of the findings queue of the Security overview page (/dashboard/security) filters open and acknowledged findings: "Overdue" (URL sla=overdue) are past their due date, "Due soon" (URL sla=due_soon) are due within the next 24 hours. The Due column of the table shows the due date with a badge: On time (green), Due soon (amber), Overdue (red); a resolved finding shows Met or Missed; "—" means no due date. The Critical, High and Medium cards show the target of their severity, for example "within 72h".
Reopening and Resolution
Reopening a finding (by a user, in bulk, by a scan that reports a material change, or when a risk acceptance expires) starts a new cycle at the reopening time: due_at, time_to_resolve and sla_met are cleared, and the next priority recomputation sets the new due date. Resolving a finding (one at a time, in bulk, or by the matchers' auto-resolve) records time_to_resolve (from the start of the cycle) and sla_met (resolved at or before due_at; empty without a due date). False positive and risk accepted do not touch the SLA fields.
SLA Breach Notifications
Every hour (minute 10, beat entry dispatch-sla-breach-notifications) the task dispatch_sla_breach_notifications looks for open and acknowledged findings whose due date passed in the last 7 days and sends one finding.sla_breached ("SLA breached") event per finding: an in-app notification to every user who selected that event type in their notification preferences (at or above their minimum severity, in their environment and team scope), and a message to every active Slack, Teams or webhook channel that wants it. At most 50 breaches per user and per channel are sent in a run, the oldest first; a breach already delivered is never sent again. The in-app notification reads "SLA breached: <title>" with severity, asset and due day, and links to the Overdue queue (/dashboard/security?sla=overdue, plus the CVE when the finding has one). Email digests show how many CVE findings, still open or acknowledged, reached their due date in the period, when the user selected finding.sla_breached. See Notification Preferences (/docs/notifications/preferences) and Notification Channels (/docs/notifications/channels).
Backfill
The migration sets the start of the cycle of the existing findings to their detection time. Their due dates arrive with the next scan of each asset, or at once with the full recomputation:
docker exec idp-backend python manage.py recompute_prioritiesAPI
GET /api/v1/security/findings/ and the detail return due_at, sla_state (on_track, due_soon or overdue while the status is open or acknowledged, null otherwise or without a due date), sla_met and time_to_resolve in whole seconds (null until resolved). The list accepts ?sla=overdue or ?sla=due_soon (any other value returns 400), also in the filter of a bulk action, and ?ordering=due_at (findings without a due date last). GET /api/v1/security/dashboard/ returns sla_targets: {critical, high, medium, low} in hours.
# Overdue findings, earliest due first
curl -H "Authorization: Bearer $TOKEN" "https://idp.example.com/api/v1/security/findings/?sla=overdue&ordering=due_at"Example Event
The sla_updated event of a new high finding (GET /api/v1/security/findings/<id>/events/):
{
"event": "sla_updated", "actor_type": "system",
"reason": "SLA due date computed: within 72h (severity high)",
"metadata": {"cause": "sla_computed", "due_at": "2026-12-01T10:00:00Z", "previous_due_at": null, "rule": "severity", "target_hours": 72}
}