Benchmark: DocumentDB
Description
This benchmark provides a set of controls that detect Terraform AWS DocumentDB resources deviating from security best practices.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-terraform-aws-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select DocumentDB.
Run this benchmark in your terminal:
powerpipe benchmark run terraform_aws_compliance.benchmark.docdb
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run terraform_aws_compliance.benchmark.docdb --share
Controls
- DocDB cluster audit logging should be enabled
- DocDB cluster backup retention period should be at least 7 days
- DocDB cluster should be encrypted using KMS
- DocDB cluster should have log export enabled
- DocDB parameter group should have audit logs enabled
- DocDB TLS should be enabled
- DocDB Global Cluster encryption at rest enabled