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 applicationsA secret value has been declared in an environment variable. The secret value will readable to anyone with access to the version control system.
Remove the secret value from the environment.variables
definition.
Example configuration:
resource "aws_lambda_function" "valid" {
function_name = "valid"
role = aws_iam_role.lambda_role.arn
handler = "index.handler"
runtime = "nodejs12.x"
filename = data.archive_file.lambda_source.output_path
source_code_hash = data.archive_file.lambda_source.output_base64sha256
environment {
variables = {
env = "development"
}
}
}
Remove the secret value from the environment
definition.