lint
Validate Dockerfiles and Kubernetes manifests to receive an A–F grade, score, pass/fail status, and line-by-line findings with fixes and references.
Instructions
Lint a Dockerfile or Kubernetes manifest. Returns the grade, score, passed and every finding with its
line, fix and reference. Give either content or path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | A local file to lint instead of `content`. | |
| type | No | auto detects Dockerfile vs Kubernetes YAML/JSON. | auto |
| ignore | No | Rule ids to skip, e.g. ["DF-017"]. | |
| content | No | The Dockerfile or manifest, as text (up to 512 KiB). | |
| fail_on | No | `passed` is false at this severity or worse. | high |