Configuration
tfcensus reads its settings in layers, and a later layer wins: the defaults, the user file ($XDG_CONFIG_HOME/tfcensus/config.yaml), the project file (.tfcensus.yaml, found by walking up from the working directory), environment variables and flags. tfcensus config show --sources prints each value and its layer, and tfcensus config init writes the commented template at the end of this page. Files are checked against config-v1.json.
A key's environment variable is TFCENSUS_ followed by the key in upper case, with dots and dashes as underscores. Only scalars and string lists (comma-separated) can be set this way. See environment variables.
schema_version
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
integer | 1 | 1 | TFCENSUS_SCHEMA_VERSION |
Config file format version.
binaries
binaries.terragrunt
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | terragrunt | TFCENSUS_BINARIES_TERRAGRUNT | --tg-path |
terragrunt binary, a name on PATH or a path.
binaries.terraform
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | terraform | TFCENSUS_BINARIES_TERRAFORM | --tf-path |
terraform or tofu binary, passed to terragrunt as --tf-path.
binaries.tofu
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | tofu | TFCENSUS_BINARIES_TOFU | --tofu-path |
tofu binary that reads OpenTofu encrypted state when state.decrypt_with_tofu is on.
discovery
discovery.roots
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | [] | TFCENSUS_DISCOVERY_ROOTS |
Directories to discover units in.
discovery.generate_stacks
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
boolean | false | TFCENSUS_DISCOVERY_GENERATE_STACKS | --generate-stacks |
Run terragrunt stack generate before discovery.
discovery.render
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | auto | auto, always, never | TFCENSUS_DISCOVERY_RENDER | --render |
Use terragrunt render: auto, always or never (fast path only).
accounts
accounts.profiles
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | [] | TFCENSUS_ACCOUNTS_PROFILES | --profile |
AWS profile globs from ~/.aws/config.
accounts.include
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | [] | TFCENSUS_ACCOUNTS_INCLUDE | --account |
Account IDs that doctor, scan and whois list resources in. Empty means every loaded account.
accounts.exclude
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | [] | TFCENSUS_ACCOUNTS_EXCLUDE | --exclude-account |
Account IDs that doctor, scan and whois skip. scan and whois still read state with their credentials.
accounts.org.enabled
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
boolean | false | TFCENSUS_ACCOUNTS_ORG_ENABLED | --org |
List the accounts of the organization and assume a role in each.
accounts.org.management_profile
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | TFCENSUS_ACCOUNTS_ORG_MANAGEMENT_PROFILE | --management-profile |
Profile that lists the accounts. Empty means the default AWS credentials.
accounts.org.role
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | OrganizationAccountAccessRole | TFCENSUS_ACCOUNTS_ORG_ROLE | --org-role |
Role assumed in each member account.
accounts.org.ou_roles
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
map of string | {} |
OU or root ID to the role assumed in the accounts directly under it, instead of role.
accounts.map
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
map of object | {} |
Account ID to profile and display name, for when profile names don't match accounts.
Each entry has these fields:
| Field | Type | Description |
|---|---|---|
profile | string | AWS profile whose credentials reach the account. |
name | string | Name shown for the account in reports. |
accounts.aggregator.profile
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | TFCENSUS_ACCOUNTS_AGGREGATOR_PROFILE |
AWS profile for the aggregator's account. Empty means the default credentials.
accounts.aggregator.name
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | TFCENSUS_ACCOUNTS_AGGREGATOR_NAME |
Name of the AWS Config aggregator. Empty turns the aggregator off.
accounts.aggregator.region
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | TFCENSUS_ACCOUNTS_AGGREGATOR_REGION |
Region the aggregator is in.
state
state.decrypt_with_tofu
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
boolean | false | TFCENSUS_STATE_DECRYPT_WITH_TOFU | --decrypt-with-tofu |
Read OpenTofu encrypted state with tofu init and tofu show -json in the unit, which downloads and runs its providers. The key configuration comes from the unit or TF_ENCRYPTION.
regions
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | [] | TFCENSUS_REGIONS | --region |
Regions to scan. Empty means the regions found in the units' backends and providers.
all_regions
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
boolean | false | TFCENSUS_ALL_REGIONS | --all-regions |
Use every region each account has enabled (account:ListRegions) instead of regions.
scan
scan.layers
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | auto | TFCENSUS_SCAN_LAYERS | --layers |
Inventory layers: auto, or a comma-separated list of re, config, cc and native.
scan.cloudcontrol_types
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | [] | TFCENSUS_SCAN_CLOUDCONTROL_TYPES |
CloudFormation types listed through Cloud Control, on top of the types only Cloud Control lists (the VPC Lattice resource gateways, resource configurations and service network associations).
scan.cloudformation
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
boolean | true | TFCENSUS_SCAN_CLOUDFORMATION |
List CloudFormation stack resources; a resource a stack lists and no state manages is other-iac.
scan.packs.aws-defaults
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
boolean | true | TFCENSUS_SCAN_PACKS_AWS_DEFAULTS |
Run the pack for resources AWS creates in every account and region, such as the default VPC.
scan.packs.aws-service
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
boolean | true | TFCENSUS_SCAN_PACKS_AWS_SERVICE |
Run the pack for resources that AWS services, IAM Identity Center, Control Tower, StackSets and CDK bootstrap create.
scan.packs.other-iac
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
boolean | true | TFCENSUS_SCAN_PACKS_OTHER_IAC |
Run the pack for resources another IaC tool or a Kubernetes controller manages, found by its tags.
scan.packs.derived
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
boolean | true | TFCENSUS_SCAN_PACKS_DERIVED |
Run the pack for resources AWS creates as children of another resource.
scan.packs.ephemeral
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
boolean | true | TFCENSUS_SCAN_PACKS_EPHEMERAL |
Run the pack for short-lived or by-product resources that nobody manages on purpose.
scan.never_hide
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | [] | other-iac, aws-managed, derived, ignored | TFCENSUS_SCAN_NEVER_HIDE |
Categories that user rules can't give to guarded resources (IAM users).
scan.external_dns.txt_prefix
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | TFCENSUS_SCAN_EXTERNAL_DNS_TXT_PREFIX |
external-dns --txt-prefix; may hold %{record_type}. Empty tries no prefix, then external-dns-.
scan.external_dns.txt_suffix
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | TFCENSUS_SCAN_EXTERNAL_DNS_TXT_SUFFIX |
external-dns --txt-suffix; may hold %{record_type}.
rules
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of object | [] |
Ownership rules, tried in order after the built-in packs. The first rule that matches an unmanaged resource sets its category.
Each entry has these fields:
| Field | Type | Description |
|---|---|---|
name | string | Rule name, shown in findings as user/<name>. |
category | string | Category of the resources the rule matches. |
owner | string | Who owns the matched resources, such as datadog. |
match | string | CEL expression that returns a bool, over resource and unit. |
reason | string | Why the matched resources aren't unmanaged. |
expires | string | Last day the rule applies, as a quoted "YYYY-MM-DD" date (UTC). After it the rule stops matching and scan warns. |
audit
audit.policy.min_terraform_version
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | 1.10 | TFCENSUS_AUDIT_POLICY_MIN_TERRAFORM_VERSION |
FL-TFVER flags states written by an older terraform or tofu.
audit.policy.min_provider_versions
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
map of string | {} |
FL-PROV: provider source (hashicorp/aws) to the oldest version allowed in .terraform.lock.hcl.
audit.policy.noncurrent_days
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
integer | 30 | at least 0 | TFCENSUS_AUDIT_POLICY_NONCURRENT_DAYS |
S3-LC: noncurrent state versions must be kept at least this many days.
audit.policy.stale_lock_hours
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
integer | 24 | at least 0 | TFCENSUS_AUDIT_POLICY_STALE_LOCK_HOURS |
LK-STALE flags locks older than this.
audit.policy.max_state_mb
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
number | 20 | at least 0 | TFCENSUS_AUDIT_POLICY_MAX_STATE_MB |
FL-SIZE flags states larger than this many MiB.
audit.discover_patterns
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | ["*tfstate*","*terraform-state*","*tf-state*"] | TFCENSUS_AUDIT_DISCOVER_PATTERNS | --discover-pattern |
Bucket name globs that audit backend --discover audits, matched against every bucket of each account.
audit.suppress
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of object | [] |
Suppressions. A finding matching every set field of an entry is suppressed until expires.
Each entry has these fields:
| Field | Type | Description |
|---|---|---|
check | string | Check ID or glob, such as S3-MFA or LK-*. |
bucket | string | Bucket name glob. |
unit | string | Unit glob, repo/path. |
key | string | State key or lock table glob. |
reason | string | Why the finding is accepted. |
expires | string | Last day the suppression applies, as a quoted "YYYY-MM-DD" date (UTC). After it the finding comes back with a warning. |
drift
drift.mode
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | refresh-only | refresh-only, full | TFCENSUS_DRIFT_MODE | --mode |
refresh-only reports drift; full also tells drift the plan reverts from drift it keeps.
drift.collapse
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | shape | shape, strict, none | TFCENSUS_DRIFT_COLLAPSE | --collapse |
How identical changes in several units become one group.
drift.never_hide
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | ["delete","replace"] | create, update, delete, replace | TFCENSUS_DRIFT_NEVER_HIDE |
Drift actions that no noise rule can hide.
drift.noise
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of object | [] |
Noise rules, tried in order. A rule hides the matching attribute changes, or the whole change when it has no attribute.
Each entry has these fields:
| Field | Type | Description |
|---|---|---|
preset | string | A built-in rule. A preset entry takes no other key. |
name | string | Rule name, shown on hidden drift as user/<name>. |
unit | string | Unit path glob; * matches any characters, / included. |
type | string | Resource type glob, such as aws_s3_*. |
address | string | Resource address glob, such as module.tags.*. |
attribute | string | Attribute path such as tags_all or ingress[*].cidr_blocks. It also matches everything below it. |
action | string | Drift action. |
reason | string | Why the drift is noise. Required for rules. |
expires | string | Last day the rule applies, as a quoted "YYYY-MM-DD" date (UTC). After it the rule stops hiding drift and drift warns. |
notify
notify.enabled
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | [] | slack, github-issues, github-pr-comment, bitbucket-pr-comment, file | TFCENSUS_NOTIFY_ENABLED |
Notifiers tfcensus notify runs when --notify isn't given.
notify.categories
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | ["double-managed","unmanaged"] | double-managed, unmanaged, undetermined | TFCENSUS_NOTIFY_CATEGORIES |
Scan categories the notifiers report.
notify.min_severity
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | low | info, low, medium, high | TFCENSUS_NOTIFY_MIN_SEVERITY |
Lowest backend audit severity the notifiers report.
notify.top
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
integer | 10 | at least 1 | TFCENSUS_NOTIFY_TOP |
Findings listed in a Slack message.
notify.slack.webhook_env
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | SLACK_WEBHOOK_URL | pattern ^[A-Za-z_][A-Za-z0-9_]*$ | TFCENSUS_NOTIFY_SLACK_WEBHOOK_ENV |
Environment variable that holds the incoming webhook URL.
notify.slack.when
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | findings | findings, always | TFCENSUS_NOTIFY_SLACK_WHEN |
findings sends only when there is something to report; always sends every run.
notify.slack.link
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | pattern ^(https://.*)?$ | TFCENSUS_NOTIFY_SLACK_LINK |
URL of the full report, such as a CI artifact, shown in the message.
notify.github_issues.repo
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | pattern ^([A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+)?$ | TFCENSUS_NOTIFY_GITHUB_ISSUES_REPO |
owner/name. Empty means GITHUB_REPOSITORY.
notify.github_issues.api_url
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | pattern ^(https?://.*)?$ | TFCENSUS_NOTIFY_GITHUB_ISSUES_API_URL |
REST API base URL. Empty means GITHUB_API_URL, else https://api.github.com.
notify.github_issues.token_env
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | GITHUB_TOKEN | pattern ^[A-Za-z_][A-Za-z0-9_]*$ | TFCENSUS_NOTIFY_GITHUB_ISSUES_TOKEN_ENV |
Environment variable that holds the token (issues: write).
notify.github_issues.labels
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | [] | TFCENSUS_NOTIFY_GITHUB_ISSUES_LABELS |
Labels added to new issues, besides tfcensus and tfcensus:<kind>.
notify.github_issues.max_open
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
integer | 10 | at least 1 | TFCENSUS_NOTIFY_GITHUB_ISSUES_MAX_OPEN |
Most open issues per report kind. Further scopes are listed in the run output and the summary issue.
notify.github_issues.close_resolved
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
boolean | true | TFCENSUS_NOTIFY_GITHUB_ISSUES_CLOSE_RESOLVED |
Close an issue when a run covers its scope and finds nothing.
notify.github_issues.summary
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
boolean | false | TFCENSUS_NOTIFY_GITHUB_ISSUES_SUMMARY |
Keep one summary issue per report kind.
notify.github_pr_comment.repo
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | pattern ^([A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+)?$ | TFCENSUS_NOTIFY_GITHUB_PR_COMMENT_REPO |
owner/name. Empty means GITHUB_REPOSITORY.
notify.github_pr_comment.api_url
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | pattern ^(https?://.*)?$ | TFCENSUS_NOTIFY_GITHUB_PR_COMMENT_API_URL |
REST API base URL. Empty means GITHUB_API_URL, else https://api.github.com.
notify.github_pr_comment.pull_request
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
integer | 0 | at least 0 | TFCENSUS_NOTIFY_GITHUB_PR_COMMENT_PULL_REQUEST |
Pull request number. 0 means the pull request of the GITHUB_EVENT_PATH event.
notify.github_pr_comment.token_env
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | GITHUB_TOKEN | pattern ^[A-Za-z_][A-Za-z0-9_]*$ | TFCENSUS_NOTIFY_GITHUB_PR_COMMENT_TOKEN_ENV |
Environment variable that holds the token (pull-requests: write).
notify.bitbucket_pr_comment.workspace
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | TFCENSUS_NOTIFY_BITBUCKET_PR_COMMENT_WORKSPACE |
Workspace. Empty means BITBUCKET_WORKSPACE.
notify.bitbucket_pr_comment.repo
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | TFCENSUS_NOTIFY_BITBUCKET_PR_COMMENT_REPO |
Repository slug. Empty means BITBUCKET_REPO_SLUG.
notify.bitbucket_pr_comment.pull_request
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
integer | 0 | at least 0 | TFCENSUS_NOTIFY_BITBUCKET_PR_COMMENT_PULL_REQUEST |
Pull request ID. 0 means BITBUCKET_PR_ID.
notify.bitbucket_pr_comment.api_url
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | https://api.bitbucket.org/2.0 | pattern ^https?:// | TFCENSUS_NOTIFY_BITBUCKET_PR_COMMENT_API_URL |
REST API base URL.
notify.bitbucket_pr_comment.token_env
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | BITBUCKET_TOKEN | pattern ^[A-Za-z_][A-Za-z0-9_]*$ | TFCENSUS_NOTIFY_BITBUCKET_PR_COMMENT_TOKEN_ENV |
Environment variable that holds an access token or API token.
notify.bitbucket_pr_comment.email_env
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | "" | pattern ^([A-Za-z_][A-Za-z0-9_]*)?$ | TFCENSUS_NOTIFY_BITBUCKET_PR_COMMENT_EMAIL_ENV |
Environment variable that holds the Atlassian account email. Set it to send an API token with basic auth; empty sends the token as a bearer token.
notify.file.dir
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | . | TFCENSUS_NOTIFY_FILE_DIR |
Directory for tfcensus-<kind>.md and .json.
notify.file.formats
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
list of string | ["md","json"] | md, json | TFCENSUS_NOTIFY_FILE_FORMATS |
Files to write.
cache
cache.ttl
| Type | Default | Allowed | Environment | Flag |
|---|---|---|---|---|
string | 1h | pattern ^([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$ | TFCENSUS_CACHE_TTL |
How long cached inventory stays fresh, as a Go duration such as 1h.
Template
tfcensus config init writes this file:
# tfcensus configuration, written by 'tfcensus config init'.
# Each key below is commented out and shows its default. Uncomment a key to change it.
# Later layers win: defaults < user file < project file < env (TFCENSUS_*) < flags.
# 'tfcensus config show --sources' prints every effective value and where it came from, and
# 'tfcensus config validate' checks this file. Unknown keys are errors. Credentials never go here.
schema_version: 1
#
# binaries:
# terragrunt: terragrunt # a name on PATH or a path
# terraform: terraform # terraform or tofu, passed to terragrunt as --tf-path
# tofu: tofu # reads OpenTofu encrypted state when state.decrypt_with_tofu is on
#
# discovery:
# roots: [] # directories to discover units in
# generate_stacks: false # run terragrunt stack generate before discovery
# render: auto # auto, always or never
#
# accounts:
# profiles: [] # AWS profile globs from ~/.aws/config, for example ["acme-*"]
# include: [] # account IDs doctor, scan and whois list; empty means all
# exclude: [] # account IDs doctor, scan and whois skip
# org:
# enabled: false # list the organization's accounts and assume a role in each
# management_profile: "" # profile that lists the accounts; empty means the default credentials
# role: OrganizationAccountAccessRole
# ou_roles: {} # OU or root ID to the role used for the accounts directly under it
# map: {} # account ID to profile and name, for example {"111111111111": {profile: acme-nonprod, name: acme-nonprod}}
# aggregator: # AWS Config aggregator
# profile: ""
# name: ""
# region: ""
#
# state:
# decrypt_with_tofu: false # run tofu init and tofu show -json in units whose state is encrypted
#
# regions: [] # empty means the regions in the units' backends and providers
# all_regions: false # every region each account has enabled, instead of regions
#
# scan:
# layers: auto # auto, or a comma-separated list of re, config, cc and native
# cloudcontrol_types: [] # more types listed through Cloud Control (VPC Lattice is always)
# cloudformation: true # list stack resources; what a stack lists and no state manages is other-iac
# packs: # built-in ownership rule packs
# aws-defaults: true
# aws-service: true
# other-iac: true
# derived: true
# ephemeral: true
# never_hide: [] # categories user rules can't give to IAM users
# external_dns: # TXT registry settings of your external-dns deployments
# txt_prefix: "" # --txt-prefix; empty tries no prefix, then external-dns-
# txt_suffix: "" # --txt-suffix
#
# rules: [] # ownership rules, see https://tfcensus.sasskovacs.dev/guides/rules
#
# audit:
# policy:
# min_terraform_version: "1.10" # FL-TFVER
# min_provider_versions: {} # FL-PROV, for example {hashicorp/aws: "5.0.0"}
# noncurrent_days: 30 # S3-LC
# stale_lock_hours: 24 # LK-STALE
# max_state_mb: 20 # FL-SIZE
# discover_patterns: # bucket globs for audit backend --discover
# - '*tfstate*'
# - '*terraform-state*'
# - '*tf-state*'
# suppress: [] # accepted findings, each with reason and an optional expires date
#
# drift:
# mode: refresh-only # refresh-only or full
# collapse: shape # shape, strict or none
# never_hide: # drift actions no noise rule can hide
# - delete
# - replace
# noise: [] # noise rules or presets, for example [{preset: aws-tags-all}]
#
# notify:
# enabled: [] # slack, github-issues, github-pr-comment, bitbucket-pr-comment, file
# categories:
# - double-managed
# - unmanaged
# min_severity: low # info, low, medium or high
# top: 10 # findings listed in a Slack message, 1 to 50
# slack:
# webhook_env: SLACK_WEBHOOK_URL
# when: findings # findings or always
# link: "" # URL of the full report, shown in the message
# github_issues:
# repo: "" # owner/name; empty means GITHUB_REPOSITORY
# api_url: "" # empty means GITHUB_API_URL, else https://api.github.com
# token_env: GITHUB_TOKEN
# labels: []
# max_open: 10 # open issues per report kind
# close_resolved: true
# summary: false # keep one summary issue per report kind
# github_pr_comment:
# repo: "" # owner/name; empty means GITHUB_REPOSITORY
# api_url: ""
# pull_request: 0 # 0 means the pull request of the GITHUB_EVENT_PATH event
# token_env: GITHUB_TOKEN
# bitbucket_pr_comment:
# workspace: "" # empty means BITBUCKET_WORKSPACE
# repo: "" # empty means BITBUCKET_REPO_SLUG
# pull_request: 0 # 0 means BITBUCKET_PR_ID
# api_url: https://api.bitbucket.org/2.0
# token_env: BITBUCKET_TOKEN
# email_env: "" # set it to send an API token with basic auth
# file:
# dir: .
# formats:
# - md
# - json
#
# cache:
# ttl: 1h # how long cached inventory stays fresh