Fix duplicate TOML Rules and IDs (#889)

* Remove duplicate rule

* Fix duplicate rule IDs

Co-authored-by: Craig Smith <5344211-craigmsmith@users.noreply.gitlab.com>
This commit is contained in:
Craig SmithandCraig Smith authored and GitHub committed 2022-06-20 08:49:47 -05:00
1 parent 5d3f247d7d
commit 06b1396a2a
1 file changed
+2 -10
+2 -10
View File
@@ -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 = [
@@ -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",