Cortex CloudApplication Security
AWS EMR cluster is not configured with security configuration misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC2_AWS_55
Category - Subcategory
Storage - Permissions
Provider
AWS
Severity
LOW
Framework
Terraform, Terraform Plan
Mapped CSPM/KSPM Rule
d1fae1fd-5d39-48c4-9583-e08b1d80244d
Impact
This rule detects if an AWS EMR cluster is not configured with a security configuration. The security configuration of an EMR cluster determines things like encryption settings and security group rules. If such a configuration is not set, the cluster may be vulnerable to attacks or data breaches.
How to Fix
Resource: aws_emr_cluster
Arguments: security_configuration
To fix the issue, name a valid security configuration in the security_configuration argument of the aws_emr_cluster resource.
Secure code example:
The above code is secure because it names a valid security configuration for the AWS EMR cluster, reducing its vulnerability to attacks or data breaches. [source,go]
resource "aws_emr_cluster" "example" { ... security_configuration = aws_emr_security_configuration.example.name ... }
PreviousAWS ElastiCache Redis cluster with Multi-AZ Automatic Failover feature set to disabled misconfigurat
NextAWS Secret Manager Automatic Key Rotation is not enabled misconfiguration detected in code
Last updated
Was this helpful?
