| Property | Value |
|---|---|
| Severity | Error |
| Category | Security |
| Default | Enabled |
Description
Scans Dockerfile content for actual secret values (not just variable names):- RUN commands and heredocs
- COPY/ADD heredocs
- ENV values
- ARG default values
- LABEL values
Complements BuildKit
Complementsbuildkit/SecretsUsedInArgOrEnv: BuildKit’s rule checks variable names (e.g., GITHUB_TOKEN), while this rule detects actual
secret values.