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"