mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
1.1 KiB
1.1 KiB
Kics
TL;DR
Setup
docker pull 'checkmarx/kics'
cat <<EOF > 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
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