audit_compose
Audit a Docker Compose YAML file to identify security vulnerabilities and best-practice violations, receiving a score and categorized issues.
Instructions
Audit a Docker Compose YAML string for security vulnerabilities and best-practice violations. Checks: privileged mode, root user, docker socket mounts, plaintext secrets, exposed database ports, missing restart policies, missing resource limits, unpinned image tags, missing healthchecks, and depends_on readiness issues. Returns a score (0-100) and categorized issues (critical/warning/info).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"compose_yaml": "<compose_yaml>"
},
"name": "audit_compose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compose_yaml | Yes | The full content of your docker-compose.yml file to audit |