-
-
Notifications
You must be signed in to change notification settings - Fork 132
Closed
Description
Describe the Feature
As a platform engineer, I need to scan the terraform plan using checkov. To do this, the plan must first be saved in JSON format.
Expected Behavior
N/A
Use Case
Security scan of the terraform plan
Describe Ideal Solution
atmos terraform generate plan
should do the following:
terraform plan -out tf.plan
terraform show -json tf.plan | jq > tf.json
Alternatives Considered
- custom sub-commands
- custom workflows
Additional Context
https://www.checkov.io/7.Scan%20Examples/Terraform%20Plan%20Scanning.html
https://developer.hashicorp.com/terraform/cli/commands/show
https://sweetops.slack.com/archives/C031919U8A0/p1743093319696019
Metadata
Metadata
Assignees
Labels
No labels