πŸ”Έ
Terraform security
CloudDefense 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:
1
NAME:
2
cdefense terraform - Static code analysis of Terraform
3
​
4
USAGE:
5
cdefense terraform [command options] [arguments...]
6
​
7
OPTIONS:
8
--api-key value, -a value Api Key for Cloud Defense server [$CD_API_KEY]
9
--project-name value, -p value Name of the project [$PROJECT_NAME]
10
--path value, -f value Path to the scan file. Defaults to $(pwd) [$PROJECT_PATH]
11
--dryrun, -d Dry run of the scan (default: false)
12
--tag value, -t value Tag the scan [$TAG_NAME]
13
--help, -h show help (default: false)
14
​
Copied!
Example:
1
cdefense terraform --api-key=<api-key> --project-name=<project name> --path=<path to dir with templates>
Copied!
Last modified 2mo ago
Copy link