For the complete documentation index, see llms.txt.

chainctl policies decision list

  3 min read

chainctl policies decision list

List policy decisions.

Synopsis

List recorded policy decisions to see which image digests a policy allowed or denied at pull time.

Each decision shows the digest, the policy that evaluated it, the mode, the outcome, and the reason when one is available. Filter by –parent for a specific organization, by –repo for all decisions recorded on a single repository, by –policy for a single policy, by –mode or –result for a subset of outcomes, and by –since for a time window.

Decisions are listed most recent first. By default the 20 most recent are shown; use –limit (1-100) to change how many are returned.

chainctl policies decision list [--parent ORG] [--repo REPO] [--policy POLICY] [--mode MODE] [--result RESULT] [--since DAYS] [--limit N] [--output=json|table] [flags]

Examples

  # List decisions for an organization
  chainctl policies decision list --parent=engineering
  
  # List what the cooldown policy would have blocked in the last day
  chainctl policies decision list --parent=engineering --policy=cooldown --result=DENIED --since=1d
  
  # List all decisions recorded for a single repository
  chainctl policies decision list --parent=engineering --repo=nginx
  
  # Show the 50 most recent decisions
  chainctl policies decision list --parent=engineering --limit=50
  
  # List decisions in JSON format for scripting
  chainctl policies decision list --parent=engineering -o json

Options

      --limit int              Maximum number of decisions to return, most recent first (1-100). (default 20)
      --mode string            Only show decisions evaluated in this mode (ENFORCE or DRY_RUN).
      --parent string          The name or id of the organization to list decisions for.
      --policy string          Only show decisions for this policy (name or UIDP).
      --repo string            Only show decisions for this repository.
      --resource-type string   Resource type used to disambiguate a policy referenced by name (shorthand: Repo, Python, Java, Javascript; or a full type). Ignored when the policy is given by UIDP.
      --result string          Only show decisions with this outcome (ALLOWED, DENIED, or ERROR).
      --since string           Only show decisions pulled within this many days, e.g. 7d.

Options inherited from parent commands

      --api string         The url of the Chainguard platform API. (default "https://console-api.enforce.dev")
      --audience string    The Chainguard token audience to request. (default "https://console-api.enforce.dev")
      --config string      A specific chainctl config file. Uses CHAINCTL_CONFIG environment variable if a file is not passed explicitly.
      --console string     The url of the Chainguard platform Console. (default "https://console.chainguard.dev")
      --force-color        Force color output even when stdout is not a TTY.
  -h, --help               Help for chainctl
      --issuer string      The url of the Chainguard STS endpoint. (default "https://issuer.enforce.dev")
      --log-level string   Set the log level (debug, info) (default "ERROR")
  -o, --output string      Output format. One of: [csv, env, go-template, id, json, markdown, none, table, terse, tree, wide]
  -v, --v int              Set the log verbosity level.

SEE ALSO

Last updated: 2026-07-28 17:26