Cortex CloudApplication Security
AWS Image Builder component not encrypted using Customer Managed Key misconfiguration detected in co
Rule Details
Cortex AppSec Rule ID
APPSEC_AWS_180
Category - Subcategory
Storage - Encryption
Provider
AWS
Severity
LOW
Framework
Terraform, Terraform Plan
Impact
This is a simple check to ensure that Image builder component is using AWS key management - KMS to encrypt its contents. To resolve add the ARN of your KMS or link on creation of the component.
How to Fix
Resource: aws_imagebuilder_component
Attribute: kms_key_id - (Optional) Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component. [source,go]
resource "aws_imagebuilder_component" "example" { data = yamlencode({ phases = [{ name = "build" steps = [{ action = "ExecuteBash" inputs = { commands = ["echo 'hello world'"] } name = "example" onFailure = "Continue" }] }] schemaVersion = 1.0 }) name = "example" platform = "Linux" version = "1.0.0" kms_key_id = "ckv_kms" }
PreviousAWS FSX Windows filesystem not encrypted using Customer Managed Key misconfiguration detected in cod
NextAWS S3 Object Copy not encrypted using Customer Managed Key misconfiguration detected in code
Last updated
Was this helpful?
