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 applicationsGlue policy has wildcard action, which should not be used. Wildcard actions grant broad permissions. The best practice recommends to providing only required permissions explicitly.
Set the policy.Statement.Action
attribute in aws_glue_resource_policy
resource to a value other than glue:*
.
resource "aws_glue_resource_policy" "allowed" {
policy = jsonencode({
"Version" : "2012-10-17",
"Statement" : [
{
"Principal" : {
"AWS" : [
"arn:aws:iam::123456789012:user/terraform-snyk"
]
},
"Effect" : "Allow",
"Action" : [
"glue:CreateSession",
"glue:RunStatement",
"glue:GetStatement",
"glue:ListStatements",
],
"Resource" : [
"arn:aws:glue:us-east-1:123456789012:*"]
}
]
}
)
}