compose-lint
Version updated for https://github.com/tmatens/compose-lint to version v0.5.0.
- This action is used across all versions by 0 repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
compose-lint is a security-focused linter designed to analyze Docker Compose files for potential misconfigurations that could pose security risks. It automates the detection of issues, such as insecure settings or non-compliance with OWASP and CIS standards, helping developers identify and address vulnerabilities before deployment. Key capabilities include zero-configuration usage, compatibility with multiple file formats, and detailed rule-based reporting for enhanced container security.
What’s Changed
Added
--explain CL-XXXXprints the per-rule prose documentation (docs/rules/CL-XXXX.md) to stdout so reviewers can read the full rationale, references, and fix guidance without context-switching to the browser. Accepts any case, exits 2 on unknown or malformed rule ids, and refuses to run alongside FILE arguments. The rule-doc markdown ships inside the wheel undercompose_lint/rule_docs/.