For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

AWS QLDB ledger has deletion protection is disabled misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_AWS_172

Category - Subcategory

Public Exposure - Database Endpoints

Provider

AWS

Severity

LOW

Framework

CloudFormation, Serverless, Terraform, Terraform Plan

Impact

Amazon Quantum Ledger Database (Amazon QLDB) is a fully managed ledger database for cryptographically verifiable transaction logging. You can use the QLDB API or the AWS Command Line Interface (AWS CLI) to create, update, and delete ledgers in Amazon QLDB. You can also list all the ledgers in your account, or get information about a specific ledger. Deletion protection is enabled by default. To successfully delete this resource via Terraform, deletion_protection = false must be applied before attempting deletion. In CloudFormation the flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature is enabled (true) by default.

How to Fix

Resource: AWS::QLDB::Ledger

  • Arguments: DeletionProtection [source,go]


Type: AWS::QLDB::Ledger Properties:

  • DeletionProtection: true KmsKey: String Name: String PermissionsMode: String Tags:

  • Tag


Last updated

Was this helpful?