For the complete documentation index, see llms.txt. This page is also available as Markdown.

Rule / Ruleset

Rules are the single unit of work for ORL. Rulesets organize multiple rules so they are guaranteed to be executed together.

Rule

A rule performs a single audit, and remediates those findings.

type: Rule
version: v1
metadata:
  name: my-sample-rule
spec:
  language: terraform
  audit_language: ast

  audit: |
    {{ aResource("aws_s3_bucket" ) }}

  remediation:
    - command: remove
      path: resource

Ruleset

A Ruleset is a collection of rules and an optional rule template.

Last updated