mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
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:
1 parent
ca7aa14542
commit
8de8938ad4
105 files changed
+332
-332
No files matched your search
@@ -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_\-])`),
|
||||
|
||||
Reference in new issue
Block a user