Enhance Secret Descriptions (#1300)

* Enhance secret descriptions in gitleaks.toml

* adjust the rule configuration descriptions

* missing spaces in gitleaks.toml
This commit is contained in:
Liron Biam authored and GitHub committed 2023-11-29 17:03:11 -06:00
1 parent ca7aa14542
commit 8de8938ad4
105 files changed
+332 -332

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import (
func TelegramBotToken() *config.Rule {
// define rule
r := config.Rule{
Description: "Telegram Bot API Token",
Description: "Detected a Telegram Bot API Token, risking unauthorized bot operations and message interception on Telegram.",
RuleID: "telegram-bot-api-token",
Regex: regexp.MustCompile(`(?i)(?:^|[^0-9])([0-9]{5,16}:A[a-zA-Z0-9_\-]{34})(?:$|[^a-zA-Z0-9_\-])`),