Control: Neptune DB clusters should have deletion protection enabled
Description
This control checks if a Neptune DB cluster has deletion protection enabled. The control fails if a Neptune DB cluster doesn't have deletion protection enabled.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.neptune_db_cluster_deletion_protection_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.neptune_db_cluster_deletion_protection_enabled --share
SQL
This control uses a named query:
select arn as resource, case when deletion_protection then 'ok' else 'alarm' end as status, case when deletion_protection then title || ' deletion protection enabled.' else title || ' deletion protection disabled.' end as reason , region, account_idfrom aws_neptune_db_cluster;