--org <slug> once and it is
saved as your default.
detections healthcheck
Run a health check across all of an organization’s detection configs.6 — the check ran fine,
something is wrong. That makes it usable directly as a CI gate.
detections validate
Validate that detection configs still produce the results you expect, without the surrounding health report. Takes the same options ashealthcheck.
detections drift
Surface drift signals — configs returning zero results, configs that have turned noisy, and stale queries.--explain to get the recommendation behind each signal rather than the counts alone.
detections run
Run one or more detection configs on demand.detections list
List recent detection results, with the same filters as the app’s Detections view. Confidence comes back as a human-readable level rather than a raw score.configs list
List the detection configs available to your organization.chainpatrol configs list is a
top-level shorthand for chainpatrol detections configs list.
detections configs update
Update an existing config’s status, title, cron schedule, or query.--set values are parsed: true, false, null, and numbers become their JSON types,
{...} and [...] are parsed as JSON, and everything else stays a string.
detections configs run is also accepted, and behaves the same as detections run.