Skip to content

Scan configurations

Many checks have thresholds: how many days before an access key counts as old, which ports count as sensitive, the minimum TLS version, how long CloudWatch logs must be kept. A scan configuration changes those values for the providers it is attached to.

Manage them under Settings > Cloud posture > Scan configuration (or from a provider's row actions). Changing them needs Read-Write in the Scans area.

How it works

  • A scan configuration is a named YAML document with one section per provider type (aws, azure, gcp, kubernetes, cloudflare, flyio...). The keys and their defaults are those of the configuration file of the Prowler checks.
  • A provider belongs to at most one scan configuration. When it scans, its section is merged over the defaults; keys you do not set keep the default.
  • Values are validated strictly: a misspelled key or a wrong type is an error when you save, not a silently ignored setting.
  • The next scan of each attached provider (scheduled or manual) uses the new values.

Example

aws:
  # An access key or a console password is "unused" after 60 days, not 45.
  max_unused_access_keys_days: 60
  max_console_access_days: 60
  # CloudWatch log groups must keep logs for at least 180 days.
  log_group_retention_days: 180

Creating a configuration

  1. Go to Settings > Cloud posture > Scan configuration and click New Scan Configuration.
  2. Give it a name and edit the YAML (only the keys you want to change).
  3. Select the providers it applies to and save.

To detach a provider, edit the configuration or use the provider's row actions.