Skip to content

pruneops_findings (Data Source)

Every finding the analysis can emit, with its key for pruneops_disabled_findings and whether it is enabled.

Example Usage

data "pruneops_findings" "aws" {
  provider_id = "aws"
}

# Disable every low-severity AWS finding.
resource "pruneops_disabled_findings" "this" {
  findings = [for f in data.pruneops_findings.aws.findings : f.key if f.severity == "low"]
}

Schema

Optional

  • provider_id (String) Only this provider's findings (e.g. aws).

Read-Only

Nested Schema for findings

Read-Only:

  • enabled (Boolean)
  • key (String) "#".
  • provider_id (String)
  • rec_type (String)
  • resource_type (String)
  • severity (String) high, medium, low or info.
  • title (String)