Cortex CloudApplication Security
AWS cluster logging is not enabled or client to container communication not encrypted using a Custom
AWS cluster logging is not enabled or client to container communication not encrypted using a Customer Managed Key (CMK) misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC_AWS_224
Category - Subcategory
Logging - Disabled or missing
Provider
AWS
Severity
LOW
Framework
Terraform
Impact
This rule identifies cluster logging which are encrypted with default KMS keys and not with Keys managed by Customer. It is a best practice to use customer managed KMS Keys to encrypt your cluster logging data. It gives you full control over the encrypted data.
How to Fix
[source,go]
resource "aws_ecs_cluster" "pass2" { name = "white-hart" configuration { execute_command_configuration { kms_key_id = aws_kms_key.example.arn
log_configuration {
cloud_watch_encryption_enabled = true
cloud_watch_log_group_name = aws_cloudwatch_log_group.example.name
or
s3_bucket_name= and
s3_bucket_encryption_enabled = true } } } tags = { test = "fail" } }
PreviousAWS ECS Cluster does not enable logging of ECS Exec misconfiguration detected in code
NextAWS ACM certificates does not have logging preference misconfiguration detected in code
Last updated
Was this helpful?
