TERRAFORM
Virsec DevSecOps terraform scan performs static analysis of terraform templates to spot potential security issues.
To run terraform scan, the user should provide API-key, project-name, and path to terraform templates (file with extension *.tf)
USAGE
NAME:
VSP Defense Terraform - Static code analysis of Terraform
USAGE:
vsp_defense terraform [command options] [arguments...]
OPTIONS:
--api-key value,-a valueApi Key for Virsec server [$CD_API_KEY]
--project-name value,-p value Name of the project [$PROJECT_NAME]
--path value,-f valuePath to the scan file. Defaults to $(pwd) [$PROJECT_PATH]
--dryrun,-dDry run of the scan (default: false)
--tag value,-t value Tag the scan [$TAG_NAME]
--help,-hShow help (default: false)
Example
vsp_defense terraform --api-key=<api_key> --project-name="project name" --path=<path to dir with templates>