CCSS (Common Configuration Scoring System) is a set of measures used to determine the severity of the rule.
Each rule is associated with a high-level category. For example IAM, Container, Monitoring, Logging, Network, etc.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsDisabling or not configuring automatic rotation for Secrets Manager secrets can lead to the use of outdated credentials, increasing the risk of unauthorized access due to potential credential leakage or compromise. Enabling automatic rotation helps maintain security by regularly changing access credentials without manual intervention, thus reducing the window of opportunity for an attacker to use stolen or leaked credentials.
Use the aws_secretsmanager_secret_rotation
resource and specify either the automatically_after_days
or schedule_expression
parameter.
Example configuration:
resource "aws_secretsmanager_secret_rotation" "example_rotation" {
secret_id = aws_secretsmanager_secret.example.id
rotation_lambda_arn = aws_lambda_function.rotation_lambda.arn
rotation_rules {
automatically_after_days = 30
schedule_expression = "rate(1 day)"
}
}