Skip to content

Commit

Permalink
Fix duplicate TOML Rules and IDs (#889)
Browse files Browse the repository at this point in the history
* Remove duplicate rule

* Fix duplicate rule IDs

Co-authored-by: Craig Smith <5344211-craigmsmith@users.noreply.gitlab.com>
  • Loading branch information
craigmarksmith and Craig Smith committed Jun 20, 2022
1 parent 5d3f247 commit 06b1396
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions config/gitleaks.toml
Expand Up @@ -183,7 +183,7 @@ keywords = [

[[rules]]
description = "Dropbox API secret"
id = "doppler-api-token"
id = "dropbox-api-token"
regex = '''(?i)(?:dropbox)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{15})(?:['|\"|\n|\r|\s|\x60]|$)'''
secretGroup = 1
keywords = [
Expand Down Expand Up @@ -292,15 +292,7 @@ keywords = [

[[rules]]
description = "Finicity Secret Key"
id = "flutterwave-public-key"
regex = '''FLWSECK_TEST-(?i)[a-h0-9]{32}-X'''
keywords = [
"flwseck_test",
]

[[rules]]
description = "Finicity Secret Key"
id = "flutterwave-public-key"
id = "flutterwave-secret-key"
regex = '''FLWSECK_TEST-(?i)[a-h0-9]{32}-X'''
keywords = [
"flwseck_test",
Expand Down

0 comments on commit 06b1396

Please sign in to comment.