Checkov is an open-source static code analysis tool for infrastructure-as-code, secrets, and software composition analysis.
This extension is a fork of the original Bridgecrew extension, with the removal of the PrismaCloud API dependencies. This forked extension can be found on the Visual Studio Extension Marketplace and its source code is available in an Apache 2.0 licensed repository. The original extension can be found on the Visual Studio Extension Marketplace and its source code is available in an Apache 2.0 licensed repository. This extension is downstream from the original extension.
The Checkov Extension for Visual Studio Code enables developers to get real-time scan results, as well as inline fix suggestions as they develop cloud infrastructure.
Extension features include:
Open the CheckovPrismaless Extension for Visual Studio Code in the Visual Studio Marketplace and install.
The Checkov extension will invoke the latest version of Checkov
.
(Ctrl+Shift+P)
or (Command+Shift+P)
and run the command Checkov Scan
.checkov:skip=<check_id>:<suppression_comment>
.To access the checkov-prismaless-vscode logs directory, open the VS Code Command Palette (Ctrl+Shift+P)
or (Command+Shift+P)
, and run the command Open Checkov Log
. It is helpful to delete the log file and then retry whichever operation failed to produce clean logs.
I detailed the reasons for creating this fork in a Medium Article. The main reasons were to remove the PrismaCloud API dependencies once the Bridgecrew API was deprecated. Checkov is an excellent tool and I wanted to ensure that the Visual Studio Code extension was still available for the community to use.