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

+3 -3
View File
@@ -9,7 +9,7 @@ func YandexAWSAccessToken() *config.Rule {
// define rule
r := config.Rule{
RuleID: "yandex-aws-access-token",
Description: "Yandex AWS Access Token",
Description: "Uncovered a Yandex AWS Access Token, potentially compromising cloud resource access and data security on Yandex Cloud.",
Regex: generateSemiGenericRegex([]string{"yandex"},
`YC[a-zA-Z0-9_\-]{38}`, true),
Keywords: []string{
@@ -29,7 +29,7 @@ func YandexAPIKey() *config.Rule {
// define rule
r := config.Rule{
RuleID: "yandex-api-key",
Description: "Yandex API Key",
Description: "Discovered a Yandex API Key, which could lead to unauthorized access to Yandex services and data manipulation.",
Regex: generateSemiGenericRegex([]string{"yandex"},
`AQVN[A-Za-z0-9_\-]{35,38}`, true),
@@ -50,7 +50,7 @@ func YandexAccessToken() *config.Rule {
// define rule
r := config.Rule{
RuleID: "yandex-access-token",
Description: "Yandex Access Token",
Description: "Found a Yandex Access Token, posing a risk to Yandex service integrations and user data privacy.",
Regex: generateSemiGenericRegex([]string{"yandex"},
`t1\.[A-Z0-9a-z_-]+[=]{0,2}\.[A-Z0-9a-z_-]{86}[=]{0,2}`, true),