scan_dockerfile_file
Audit Dockerfile security by scanning raw content with Checkov, returning structured findings with check IDs, line ranges, and code snippets to identify misconfigurations.
Instructions
Scan Dockerfile content for security misconfigurations using Checkov and return structured findings, in the same shape as scan_terraform_file (check ID, title, resource, line range, code snippet). Use this whenever the user asks to review, audit, or check the security of a Dockerfile.
Args: file_content: the raw text of a Dockerfile filename: original filename, used only for a friendlier label in output
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Dockerfile | |
| file_content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||