# Kics
1. [TL;DR](#tldr)
1. [Further readings](#further-readings)
## TL;DR
Setup
```sh
docker pull 'checkmarx/kics'
cat < kics.config
---
exclude-paths:
# The container starts in '/app/bin', these paths are relative to there.
# See the command in the lefthook configuration.
- repository/container-images/image-builder
exclude-severities: info,low
EOF
```
Usage
```sh
docker run -t -v "${PWD}:/workdir" 'checkmarx/kics' scan -p '/workdir'
docker run -t -v "${PWD}:/workdir" 'checkmarx/kics' \
scan -p '/workdir' -o '/workdir/output' --report-formats "glsast,html,pdf" --output-name kics-result
```
## Further readings
- [Website]
- [Codebase]
[Codebase]: https://github.com/Checkmarx/kics/
[Website]: https://docs.kics.io/latest/