From 7d53fb5951c945d475f81b87d8744941e02f7e44 Mon Sep 17 00:00:00 2001 From: Roger Meier Date: Wed, 14 Aug 2019 11:06:46 +0200 Subject: [PATCH] fix(gitleaks.toml): LinkedIn had a Twitter tag --- gitleaks.toml | 4 ++-- src/constants.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gitleaks.toml b/gitleaks.toml index ee7fd802..374b7cb3 100644 --- a/gitleaks.toml +++ b/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" diff --git a/src/constants.go b/src/constants.go index a3d621cd..af17da0c 100644 --- a/src/constants.go +++ b/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"