Kaynağa Gözat

Merge pull request #249 from siemens/bufferoverflow-patch-1

fix(gitleaks.toml): LinkedIn had a Twitter tag
Zachary Rice 6 yıl önce
ebeveyn
işleme
6432f11a6b
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 2 2
      gitleaks.toml
  2. 2 2
      src/constants.go

+ 2 - 2
gitleaks.toml

@@ -74,12 +74,12 @@ tags = ["key", "Github"]
 [[rules]]
 description = "LinkedIn Client ID"
 regex = '''(?i)linkedin(.{0,20})?(?-i)['\"][0-9a-z]{12}['\"]'''
-tags = ["client", "Twitter"]
+tags = ["client", "LinkedIn"]
 
 [[rules]]
 description = "LinkedIn Secret Key"
 regex = '''(?i)linkedin(.{0,20})?['\"][0-9a-z]{16}['\"]'''
-tags = ["secret", "Twitter"]
+tags = ["secret", "LinkedIn"]
 
 [[rules]]
 description = "Slack"

+ 2 - 2
src/constants.go

@@ -90,12 +90,12 @@ tags = ["key", "Github"]
 [[rules]]
 description = "LinkedIn Client ID"
 regex = '''(?i)linkedin(.{0,20})?(?-i)['\"][0-9a-z]{12}['\"]'''
-tags = ["client", "Twitter"]
+tags = ["client", "LinkedIn"]
 
 [[rules]]
 description = "LinkedIn Secret Key"
 regex = '''(?i)linkedin(.{0,20})?['\"][0-9a-z]{16}['\"]'''
-tags = ["secret", "Twitter"]
+tags = ["secret", "LinkedIn"]
 
 [[rules]]
 description = "Slack"