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

+2 -2
View File
@@ -8,7 +8,7 @@ import (
func VaultServiceToken() *config.Rule {
// define rule
r := config.Rule{
Description: "Vault Service Token",
Description: "Identified a Vault Service Token, potentially compromising infrastructure security and access to sensitive credentials.",
RuleID: "vault-service-token",
Regex: generateUniqueTokenRegex(`hvs\.[a-z0-9_-]{90,100}`, true),
Keywords: []string{"hvs"},
@@ -24,7 +24,7 @@ func VaultServiceToken() *config.Rule {
func VaultBatchToken() *config.Rule {
// define rule
r := config.Rule{
Description: "Vault Batch Token",
Description: "Detected a Vault Batch Token, risking unauthorized access to secret management services and sensitive data.",
RuleID: "vault-batch-token",
Regex: generateUniqueTokenRegex(`hvb\.[a-z0-9_-]{138,212}`, true),
Keywords: []string{"hvb"},