Skip to content

outboundctl maintenance

outboundctl maintenance: list unused rules and rules that need an identity check, turn off an unused rule, approve a retained rule, and repair a rule's code identity.

Outbound 1.5.3 · Updated

outboundctl maintenance gives Terminal access to the cleanup findings that Insights shows in the Rules pane: unused rules and rules whose program identity needs attention.

Terminal window
outboundctl maintenance list [--window 1w|3w|1m|3m|6m|1y]

Prints JSON with the findings, each with its kind, the rule’s UUID and an explanation. --window is how long a rule must have gone without a match to count as unused: one week, three weeks (the default), one month, three months, six months or one year. Usage comes from the background agent. When it has no usage history, the result says “Usage history is unavailable; unused status is unknown.” When it has, it notes: “Observed matches only; unused does not mean unnecessary.”

Terminal window
outboundctl maintenance disable <uuid>
outboundctl maintenance approve <uuid> --confirm
outboundctl maintenance repair <uuid> --path <candidate> --signing-id <expected> [--team-id <expected>]
  • disable turns off one unused rule. It stays in your rules, ready to turn back on.
  • approve approves one rule that was kept but switched off, for example when a profile was removed with --keep-rules. It stays off; turn it on separately. --confirm is required.
  • repair confirms the executable and signer for a rule whose program changed. Outbound inspects the program at --path, which must match --signing-id; --team-id is required for a signing identifier that is not Apple’s. It is the same as outboundctl rules repair.

Each of these is a change. It follows the edit policy, waits for your approval in Outbound unless the policy lets it through, and accepts --dry-run, --plan and --no-wait.

Success exits 0, and a change still waiting for approval exits 75. Bad syntax, or approve without --confirm, exits 64. Edit-policy refusals exit 77.