mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
checkov: add page (#12402)
* checkov: add page --------- Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
This commit is contained in:
parent
a91864e8c0
commit
e93ab7d679
1 changed files with 17 additions and 0 deletions
17
pages/common/checkov.md
Normal file
17
pages/common/checkov.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
# checkov
|
||||
|
||||
> Checkov is a static code analysis tool for Infrastructure as Code (IaC).
|
||||
> It is also a software composition analysis (SCA) tool for images and open source packages.
|
||||
> More information: <https://www.checkov.io/1.Welcome/Quick%20Start.html>.
|
||||
|
||||
- Scan a directory containing IaC (Terraform, Cloudformation, ARM, Ansible, Bicep, Dockerfile, etc):
|
||||
|
||||
`checkov --directory {{path/to/directory}}`
|
||||
|
||||
- Scan an IaC file, omitting code blocks in the output:
|
||||
|
||||
`checkov --compact --file {{path/to/file}}`
|
||||
|
||||
- List all checks for all IaC types:
|
||||
|
||||
`checkov --list`
|
Loading…
Add table
Reference in a new issue