Cortex CloudApplication Security
AWS ECS Cluster does not enable logging of ECS Exec misconfiguration detected in code
AWS ECS Cluster does not enable logging of ECS Exec misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC_AWS_223
Category - Subcategory
Logging - Disabled or missing
Provider
AWS
Severity
LOW
Framework
Terraform
Impact
It is recommended to have a proper logging process for AWS ECS Cluster in order to track configuration changes conducted manually and programmatically and trace back unapproved changes.
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
logging = "DEFAULT"
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 MQBroker audit logging is disabled misconfiguration detected in code
NextAWS cluster logging is not enabled or client to container communication not encrypted using a Custom
Last updated
Was this helpful?
