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 applicationsAdding health checks to your ECS tasks gives you more visibility in monitoring the health of your tasks and improves your ability to know that your ECS tasks are healthy.
Set the container_definitions
json document healthcheck
key to an appropriate value.
resource "aws_ecs_task_definition" "valid_container_healthcheck" {
family = "valid_container_healthcheck"
container_definitions = <<EOF
[
{
"name": "valid_container_healthcheck",
"image": "hello-world",
"memory": 128,
"healthcheck": {
"command": ["CMD-SHELL", "echo 'healthy' || exit 1"]
}
}
]
EOF
requires_compatibilities = ["EC2"]
}