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 a health check to your ECS task definitions ensures that it is still operational and gives you more control in monitoring the health of your tasks. It also enables the host to kill and reschedule tasks that are no longer operational.
In the container_definitions
attribute, set healthcheck
to a command
that determines whether the container is healthy.
Example configuration:
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"]
}