stackatdocs

.stackat.yml / option

sla

On this page

How many days your team gives itself to install an upgrade that fixes CVEs. The dashboard shows each upgrade's deadline, what is overdue, and how many were fixed in time.

What it does

With sla: set, every upgrade that fixes at least one CVE gets a deadline: the day Stackat raised its issue, plus the days for its level.

  • The level comes from the CVEs the upgrade fixes: Exploited now when any of them is on a known-exploited list (CISA KEV, VulnCheck KEV, ENISA), otherwise the highest CVSS score: Critical 9 and up, High 7 to 8.9, Medium 4 to 6.9, Low under 4.
  • Inventory gets a Deadline column ("Due in 5 days", "Overdue by 3 days") and an Overdue filter (is:overdue in its search), and Overview counts what is past the deadline.
  • Audit evidence says how many upgrades were fixed within their deadline, and the CSV has the level, the deadline and whether it was met for each issue.
  • Slack says once when an upgrade passes its deadline, and the Monday digest counts what is overdue.

Upgrades that fix no CVE have no deadline. The same deadlines, and the same exceptions, can be set without a file on Settings → Patching deadlines.

Type and values

Typefalse, true, or a number of days per level
Levelsexploited, critical, high, medium, low: each 1 to 730 days
repositoriesExceptions: a repository's name, then false (no deadlines) or the levels whose days differ
DefaultOff (or Settings' deadlines, when switched on there)
trueStackat's suggestion: exploited 7, critical 15, high 30, medium 90, low 180

A level you leave out keeps Stackat's suggestion.

One policy, in one place

Patching deadlines are one policy for the whole organisation, so they live in one place:

  • Settings → Patching deadlines, set by an organisation admin, or
  • sla: in the organisation's file (.stackat.yml in stackat-config). Once the file sets it, the file decides: Settings shows what it says, greyed out, and saves nothing until you remove sla: from the file.

Repositories that need different days are exceptions in that same place: repositories: in the file, or Per repository on Settings. A repository's own .stackat.yml cannot set deadlines. An sla: there is ignored and reported (see below).

Problems you may see

stackat-config/.stackat.yml: sla.urgent: not a level (exploited, critical, high, medium, low)
stackat-config/.stackat.yml: sla.repositories.payments-api.high: a number of days from 1 to 730
.stackat.yml: sla: is not used in a repository's own file. Patching deadlines are one policy for the whole organisation: set them on the dashboard's Settings, or in the organisation's stackat-config/.stackat.yml

A bad level is ignored, and the others apply.

Examples

The common policy, organisation-wide

stackat-config/.stackat.yml (organisation)yaml
sla:
  exploited: 7
  critical: 15
  high: 30
  medium: 90
  low: 180

Stricter for payments, none for a sandbox

stackat-config/.stackat.yml (organisation)yaml
sla:
  exploited: 7
  critical: 15
  high: 30
  medium: 90
  low: 180
  repositories:
    payments-api:
      exploited: 2
      critical: 7
      high: 14
    sandbox: false

payments-api keeps the organisation's days for medium and low. A repository is named without the organisation (payments-api, not acme/payments-api).

Off for the whole organisation

stackat-config/.stackat.yml (organisation)yaml
sla: false