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 applicationsSYS_ADMIN capability grants the container almost full administrative privileges.
Remove SYS_ADMIN
from securityContext.capabilities.add
list.
Remove SYS_ADMIN
from security_context.capabilities.add
list.
resource "kubernetes_pod" "allowed" {
metadata {
name = "terraform-example611a"
}
spec {
container {
security_context {
capabilities {
drop = ["ALL"]
add = ["NET_ADMIN", "test"]
}
}
image = "nginx:1.7.9"
name = "example"
port {
container_port = 8080
}
}
}
}