Skip to content

Commit

Permalink
fix(sgtrivy): update misconfig-scanners
Browse files Browse the repository at this point in the history
Trivy has added support for scanning terraform plan snapshots and
thus so updated the config names.

See [PR](aquasecurity/trivy#6176)
  • Loading branch information
thall committed Apr 9, 2024
1 parent 766a75d commit d3f1a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sgtrivy/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func CheckTerraformCommand(ctx context.Context, dir string) *exec.Cmd {
args := []string{
"config",
"--misconfig-scanners",
"terraform,terraformplan",
"terraform,terraformplan-json,terraformplan-snapshot",
"--exit-code",
"1",
dir,
Expand Down

0 comments on commit d3f1a92

Please sign in to comment.