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 applicationsContainer could be running with full administrative privileges.
Set securityContext.runAsNonRoot
to true
.
Set the securityContext.runAsNonRoot
attribute to true
.
resource "kubernetes_pod" "allow_container_non_root_user" {
metadata {
name = "allow"
}
spec {
container {
image = "nginxinc/nginx-unprivileged"
name = "example"
security_context {
run_as_non_root = true
}
}
}
}