diff --git a/pkg/fanal/secret/builtin-rules.go b/pkg/fanal/secret/builtin-rules.go index 6d0c0eacfdcd..b4fc04ac9612 100644 --- a/pkg/fanal/secret/builtin-rules.go +++ b/pkg/fanal/secret/builtin-rules.go @@ -82,6 +82,10 @@ const ( aws = `aws_?` ) +func GetBuiltinRules() []Rule { + return builtinRules +} + // This function is exported for trivy-plugin-aqua purposes only func GetSecretRulesMetadata() []iacRules.Check { return lo.Map(builtinRules, func(rule Rule, i int) iacRules.Check {