Synopsis
input.trails (an array), unlike
evaluate trail which passes input.trail (a single object).
Use --attestations to enrich the input with detailed attestation data
(e.g. pull request approvers, scan results). Use --show-input to inspect the
full data structure available to the policy. Use --output json for structured output.
Flags
Flags inherited from parent commands
Examples Use Cases
These examples all assume that the flags--api-token, --org, --host, (and --flow, --trail when required), are set/provided.
evaluate multiple trails against a policy
evaluate multiple trails against a policy
evaluate trails with attestation enrichment
evaluate trails with attestation enrichment
evaluate trails with JSON output and show the policy input
evaluate trails with JSON output and show the policy input
evaluate trails with policy parameters
evaluate trails with policy parameters
evaluate trails using a policy fetched from a remote URL
evaluate trails using a policy fetched from a remote URL
evaluate trails as a decision point (print verdict, never fail the step)
evaluate trails as a decision point (print verdict, never fail the step)