validate_dockerfile
Validates a Dockerfile against 15 GWShield hardening pillars, optionally using an expected image family to catch family-specific container security issues.
Instructions
Validate a Dockerfile against the 15 GWShield hardening pillars
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": {
"dockerfile": "<dockerfile>"
},
"name": "validate_dockerfile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| family | No | Expected image family (helps with family-specific checks) | |
| dockerfile | Yes | The Dockerfile content to validate |