kics icon indicating copy to clipboard operation
kics copied to clipboard

feat(cli): add setting to suppress ASCII logo in CLI output

Open andrewvaughan opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like The ASCII logo that is output in the CLI clutters logs and makes incorporation of KICS into comprehensive linting/testing tools (e.g., Megalinter) messy. Nearly all other linters provide the option to remove their logo or ASCII art for this reason.

Please add the following option to the configuration, or similar:

{
	"show-logo": true
}

Describe alternatives you've considered N/A

Additional context Screenshot 2024-08-25 at 3 45 07 PM

andrewvaughan avatar Aug 25 '24 19:08 andrewvaughan

In case anybody is looking for a workaround, I was able to use sed to strip it out, e.g.

docker run -v "$(pwd)/images":/images checkmarx/kics:v2.1.13-alpine scan -p /images | sed -n '/Scanning with Keeping Infrastructure as Code Secure/,$p'

themaxdavitt avatar Sep 19 '25 02:09 themaxdavitt