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 applicationsWildcard principal has been specified in glue resource policy. Any IAM entity matching the wildcard will be able to make a request for an action or operation on the AWS resource.
Set the policy.Statement.Principal
or policy.Statement.Principal.AWS
attribute in aws_glue_resource_policy
resource to value other than *
.
resource "aws_glue_resource_policy" "allow" {
policy = jsonencode({
"Version" : "2012-10-17",
"Statement" : [
{
"Principal" : {
"AWS" : [
"arn:aws:iam::123456789012:user/terraform-snyk",
]
},
"Effect" : "Allow",
"Action" : [
"glue:GetDatabases",
"glue:GetPartitions",
"glue:GetTable",
"glue:GetTables",
"glue:GetConnection"
],
"Resource" : [
"arn:aws:glue:us-east-1:123456789012:*"
]
}
]
})
}