Rules
Every finding names one of these rules. An admin sets each one to Off, Advisory or Blocking for the org under Guardrails, and can add custom rules:
- Blocking: the rule stops a deploy for its high and critical findings. Checkov’s Dockerfile checks never block, since Canyon never builds from a Dockerfile. The go-live checks, marked “when you promote” below, stop a promotion to production instead.
- Advisory: the rule’s findings are shown, and stop nothing.
- Off: the rule isn’t checked.
“Found by” names the tool that reports the rule: a scanner Canyon runs (gitleaks, Trivy, Opengrep, ESLint, Checkov, and Grype once an admin adds it), Canyon’s AI review, which needs an AI model set up on your Canyon, or Canyon itself.
Blocking by default
Section titled “Blocking by default”- No secrets in the code ·
secrets.client-bundle· found by gitleaks - No hand-built SQL from user input ·
sql.string-concat· found by Opengrep, with GitLab’s sast-rules and Canyon’s own rule - Production needs a passing review ·
prod.clean-gate· found by Canyon, when you promote - A person promotes ·
prod.human-approval· found by Canyon, when you promote
Advisory by default
Section titled “Advisory by default”- Every route needs sign-in ·
auth.unauthenticated-route· found by the AI review, when a model is set - No known-vulnerable dependencies ·
deps.known-vuln· found by Trivy - Approved stacks only ·
stack.blessed· found by Canyon, when you promote - Every app has an owner ·
owner.required· found by Canyon, when you promote - No unbounded refetch on user input ·
perf.unbounded-refetch· found by the AI review, when a model is set - Apps use the org’s design system ·
design.org-system· found by Canyon, from the app’s package.json - No user input reaching commands, files, pages or URLs ·
code.injection· found by Opengrep and ESLint - Infrastructure config passes its benchmark checks ·
iac.misconfig· found by Checkov and Trivy - No hand-built SQL from user input (AI review) ·
ai.sql-string-concat· found by the AI review, when a model is set - No user input reaching commands, files, pages or URLs (AI review) ·
ai.code-injection· found by the AI review, when a model is set
Off by default
Section titled “Off by default”- No known-vulnerable system libraries or build tools ·
platform.known-vuln· found by Canyon, when you promote - Production allows everything preview connects to ·
prod.egress-allowed· found by Canyon, when you promote
Everything else a scanner reports
Section titled “Everything else a scanner reports”These catch a tool’s findings that don’t belong to a named rule above, one rule per tool. Each one also decides whether its tool runs at all: set to Off, the tool doesn’t run. They start as Advisory, except Grype’s, which isn’t there until an admin adds it.
- Findings from checkov ·
sarif.checkov· found by Checkov - Findings from eslint ·
sarif.eslint· found by ESLint - Findings from gitleaks ·
sarif.gitleaks· found by gitleaks - Findings from grype ·
sarif.grype· found by Grype, once an admin adds it - Findings from opengrep ·
sarif.opengrep· found by Opengrep - Findings from trivy ·
sarif.trivy· found by Trivy