diff --git a/cmd/cloud-run/scan-logs-for-secrets/kodata/gitleaks.toml b/cmd/cloud-run/scan-logs-for-secrets/kodata/gitleaks.toml index b509754ed689..16bac1832290 100644 --- a/cmd/cloud-run/scan-logs-for-secrets/kodata/gitleaks.toml +++ b/cmd/cloud-run/scan-logs-for-secrets/kodata/gitleaks.toml @@ -19,6 +19,10 @@ paths = [ '''node_modules''', '''vendor''', ] +regexTarget = "line" +regexes = [ + "#nosec", +] [[rules]] description = "Bearer Authorization Token" @@ -501,7 +505,6 @@ keywords = [ paths = [ '''Database.refactorlog''' ] - stopwords= [ "client", "endpoint",