Skip to content

Recipe autopilot

By default, when a recipe matches your data, Skep proposes it and a person starts each stage of the rollout. Autopilot lets an organization admin approve that in advance, per risk level. Skep then applies new matches and starts the stages the policy allows, one environment at a time, and checks each stage before the next one starts.

  • Low-risk fixes (redaction, severity from a level key, trace context from log fields) roll out without anyone clicking through each stage.
  • Each stage passes its verification gate before the next one starts. A failed gate stops the rollout.
  • Every automatic step is in the audit log, with the policy that allowed it and the admin who set it.
  • Plan: Plus plan. Every plan can review recipes and roll them out by hand.
  • Role: an organization admin, signed in as a person. Agents, API keys and the assistant cannot change autopilot. The policy is your standing approval, so only a person can give it.
  • Collectors in fleets: a recipe rolls out by deploying a fleet revision.

You choose one mode for each risk level.

Mode API value What Skep does on its own
Propose (default) propose Nothing. Skep proposes, and a person starts every stage
Auto non-production auto_nonprod Applies new matches and runs non-production stages. Production always waits for a person with fleet:deploy
Auto everywhere auto Runs every stage, production included, each still gated by its verification

Every recipe has a risk level.

Risk What it means Examples
low Additive or redaction: nothing people query changes name redact-sensitive, trace-context-from-fields, severity-from-level
medium Changes routing or volume: datasets or event counts move parse-json-body, collapse-build-suffix, drop-health-checks, logs-to-metrics
high Renames or moves columns people query: saved queries, boards and triggers need updating semconv-rename, gelf-normalize, promote-map-body

The Library tab under Recommendations shows each recipe’s risk.

  1. Open Policy, then Autopilot.
  2. Under Policy by risk, choose a mode for low, medium and high. A common start is Auto non-production for low and Propose for the rest.
  3. Under Per recipe, turn autopilot off for any recipe you want kept proposal only, whatever its risk level allows.
  4. Choose Save policy.

The same policy over the API is PUT /v1/recipes/settings, sent from a signed-in admin’s session (agent keys get 403):

{
"autopilot": { "low": "auto_nonprod", "medium": "propose", "high": "propose" },
"disabled": ["semconv-rename"]
}

GET /v1/recipes/settings returns the policy in force, with updated_by and updated_at.

Every minute, Skep checks for new matches and rollouts that can move.

  1. New matches. For a match nobody applied yet, Skep plans a rollout: one stage per environment where the same recipe matches the same service, non-production first.
  2. Stages. Skep starts the next stage when the policy allows it. A stage adds the recipe’s rules to the environment’s fleets and deploys a new revision. On a fleet whose configuration lives in Git, the stage opens a pull request instead, and deploys when it merges.
  3. Verification. A deployed stage is verifying. It passes when its rules are active, no collector fails the configuration, and the matched findings resolved or were not seen since the deployment. The first check is 10 minutes after the deployment.
  4. Failure. A stage fails at 90 minutes without passing, on a collector that rejects the configuration, or when it is not deployed within a day. A stage on a fleet whose configuration lives in git waits for its pull request instead, with a reminder on the pull request each day, and fails only if the pull request is closed without merging. A failed stage stops the rollout and offers a rollback.
  5. Next stage. Later stages start only after earlier ones pass.

Some rules always hold:

  • Under Auto non-production, a production stage never starts on its own.
  • A tighter policy applies to rollouts already under way.
  • A recipe turned off under Per recipe never advances on its own.
  • If the organization leaves the Plus plan, its policy acts as Propose.
  • A person can pause a rollout or roll back a stage at any time, from the rollout page under Recommendations, then In progress.

Each step autopilot takes is in the audit log as a system actor named recipe autopilot (<mode>), on behalf of the admin who set the policy. Look under Agents, then Activity, or on the rollout page. Policy changes are audited too, and Policy, then Autopilot shows who set the policy and when.

A stage that passes verification counts as one remediation. A stage that is rolled back later stops counting. The Free and Plus plans include 25 remediations a month. See pricing for what Plus charges above that.

  • Policy, then Autopilot shows “Set” with the time and your name.
  • Recommendations, then In progress lists rollouts autopilot started, with each stage’s status: pending, deploying, verifying, passed, failed.
  • In the Guide, Set the guardrails shows as done.
What you see Why What to do
403 tier_required when you save Modes other than Propose need the Plus plan Upgrade, or keep Propose and start stages by hand
403 forbidden when you save You are not an admin, or the request came from an agent or service account key Ask an organization admin to set it while signed in
Nothing rolls out No open recipe matches, every match is already applied, or the recipe is turned off Check Recommendations, then To do, and the Per recipe list
A production stage stays pending The mode is Auto non-production A person with fleet:deploy starts it from the rollout page
A stage shows awaiting_approval The deployment waits for a person Decide it under Agents, then Approvals
Rollouts stopped starting The month reached the Free remediation allowance or your spend cap (402 remediations_paused) Autopilot waits until next month, a higher cap, or an upgrade
A match cannot be applied The collectors that saw the data belong to no fleet Add those collectors to a fleet under Collectors

Skep · Security · Changelog · Privacy