Просмотр исходного кода

fix(gitleaks.toml): LinkedIn had a Twitter tag

Roger Meier 6 лет назад
Родитель
Сommit
7d53fb5951
2 измененных файлов с 4 добавлено и 4 удалено
  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"