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

AWS Config Recording is disabled misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC2_AWS_45

Category - Subcategory

Logging - Disabled or missing

Provider

AWS

Severity

LOW

Framework

Terraform

Mapped CSPM/KSPM Rule

58d5da42-26f2-466b-8642-c2301d1bf510

Impact

AWS Config is a web service that performs configuration management of supported AWS resources within your account and delivers log files to you. AWS config uses configuration recorder to detect changes in your resource configurations and capture these changes as configuration items. It continuously monitors and records your AWS resource configurations and allows you to automate the evaluation of recorded configurations against desired configurations. This rule generates alerts when AWS Config recorder is not enabled.

How to Fix

[source,go]

resource "aws_config_configuration_recorder" "pass_recorder" { name = "example" role_arn = aws_iam_role.r.arn

recording_group { include_global_resource_types = true }

}

resource "aws_config_configuration_recorder_status" "pass" { name = aws_config_configuration_recorder.pass_recorder.name is_enabled = true }

Last updated

Was this helpful?