diff --git a/pkg/misconf/scanner_test.go b/pkg/misconf/scanner_test.go index a3fb60cc3cc1..314aee801ac2 100644 --- a/pkg/misconf/scanner_test.go +++ b/pkg/misconf/scanner_test.go @@ -115,7 +115,9 @@ func TestScanner_Scan(t *testing.T) { name: "happy path. terraform plan file", scannerFunc: NewTerraformPlanScanner, fields: fields{ - opt: ScannerOption{}, + opt: ScannerOption{ + DisableEmbeddedPolicies: true, + }, }, files: []file{ {