You must be logged in to view saved presets
This template subscribes to the CIS AWS Foundations Benchmark and PCI DSS standards in AWS Security Hub.
data "aws_region" "current" {
}
resource "aws_securityhub_account" "example" {
}
resource "aws_securityhub_standards_subscription" "cis" {
depends_on = ["aws_securityhub_account.example"]
standards_arn = "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0"
}
resource "aws_securityhub_standards_subscription" "pci_321" {
depends_on = ["aws_securityhub_account.example"]
standards_arn = "arn:aws:securityhub:${data.aws_region.current.name}::standards/pci-dss/v/3.2.1"
}