checkov: add page (#12402)

* checkov: add page

---------

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
pull/23/head
Fazle Arefin 2024-03-03 04:23:55 +11:00 committed by GitHub
parent a91864e8c0
commit e93ab7d679
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 0 deletions

17
pages/common/checkov.md Normal file
View 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`