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 applicationsContainers with more than 2 listening ports will increase the attack surface of the application and the container.
Reduce ports
count to 2.
Reduce the spec.port
attribute count to 2 or fewer.
resource "kubernetes_pod" "allowed1" {
metadata {
name = "example-622a1"
}
spec {
container {
image = "nginx:1.7.9"
name = "example"
env {
name = "environment"
value = "test"
}
port {
container_port = 80
}
security_context {
privileged = false
}
}
}
}