You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: help/commands-docs/iac.md
+7
Original file line number
Diff line number
Diff line change
@@ -48,3 +48,10 @@ Find security issues in your Infrastructure as Code files.
48
48
(only in `test` command)
49
49
Enable an experimental feature to scan configuration files locally on your machine.
50
50
This feature also gives you the ability to scan terraform plan JSON files.
51
+
52
+
-`--scan=`<TERRAFORM_PLAN_SCAN_MODE>:
53
+
Dedicated flag for Terraform plan scanning modes (available only under `--experimental` mode).
54
+
It enables to control whether the scan should analyse the full final state (e.g. `planned-values`), or the proposed changes only (e.g. `resource-changes`).
55
+
Default: If the `--scan` flag is not provided it would scan the proposed changes only by default.
56
+
Example #1: `--scan=planned-values` (full state scan)
57
+
Example #2: `--scan=resource-changes` (proposed changes scan)
0 commit comments