feat(rules): Add 1Password secret key detection (#1834)

* Add `1password-secret-key` detection

* Document key details

* Update cmd/generate/config/rules/1password.go

Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com>

* Generate new `.toml`

* Use `GenerateSampleSecrets` to test more scenarios

* Comment lowercase `fps`

* Decrease entropy

---------

Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com>
This commit is contained in:
Jordan BradfordandRichard Gomez authored and GitHub committed 2025-04-30 09:30:58 -05:00
1 parent d1c77598da
commit 23cb69fba4
5 files changed
+77 -1

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ func main() {
gitleaksConfigPath := os.Args[1]
configRules := []*config.Rule{
rules.OnePasswordSecretKey(),
rules.OnePasswordServiceAccountToken(),
rules.AdafruitAPIKey(),
rules.AdobeClientID(),