mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 21:44: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
@@ -8,7 +8,7 @@ import (
|
||||
func TwitterAPIKey() *config.Rule {
|
||||
// define rule
|
||||
r := config.Rule{
|
||||
Description: "Twitter API Key",
|
||||
Description: "Identified a Twitter API Key, which may compromise Twitter application integrations and user data security.",
|
||||
RuleID: "twitter-api-key",
|
||||
Regex: generateSemiGenericRegex([]string{"twitter"}, alphaNumeric("25"), true),
|
||||
Keywords: []string{"twitter"},
|
||||
@@ -24,7 +24,7 @@ func TwitterAPIKey() *config.Rule {
|
||||
func TwitterAPISecret() *config.Rule {
|
||||
// define rule
|
||||
r := config.Rule{
|
||||
Description: "Twitter API Secret",
|
||||
Description: "Found a Twitter API Secret, risking the security of Twitter app integrations and sensitive data access.",
|
||||
RuleID: "twitter-api-secret",
|
||||
Regex: generateSemiGenericRegex([]string{"twitter"}, alphaNumeric("50"), true),
|
||||
Keywords: []string{"twitter"},
|
||||
@@ -40,7 +40,7 @@ func TwitterAPISecret() *config.Rule {
|
||||
func TwitterBearerToken() *config.Rule {
|
||||
// define rule
|
||||
r := config.Rule{
|
||||
Description: "Twitter Bearer Token",
|
||||
Description: "Discovered a Twitter Bearer Token, potentially compromising API access and data retrieval from Twitter.",
|
||||
RuleID: "twitter-bearer-token",
|
||||
Regex: generateSemiGenericRegex([]string{"twitter"}, "A{22}[a-zA-Z0-9%]{80,100}", true),
|
||||
|
||||
@@ -57,7 +57,7 @@ func TwitterBearerToken() *config.Rule {
|
||||
func TwitterAccessToken() *config.Rule {
|
||||
// define rule
|
||||
r := config.Rule{
|
||||
Description: "Twitter Access Token",
|
||||
Description: "Detected a Twitter Access Token, posing a risk of unauthorized account operations and social media data exposure.",
|
||||
RuleID: "twitter-access-token",
|
||||
Regex: generateSemiGenericRegex([]string{"twitter"}, "[0-9]{15,25}-[a-zA-Z0-9]{20,40}", true),
|
||||
Keywords: []string{"twitter"},
|
||||
@@ -73,7 +73,7 @@ func TwitterAccessToken() *config.Rule {
|
||||
func TwitterAccessSecret() *config.Rule {
|
||||
// define rule
|
||||
r := config.Rule{
|
||||
Description: "Twitter Access Secret",
|
||||
Description: "Uncovered a Twitter Access Secret, potentially risking unauthorized Twitter integrations and data breaches.",
|
||||
RuleID: "twitter-access-secret",
|
||||
Regex: generateSemiGenericRegex([]string{"twitter"}, alphaNumeric("45"), true),
|
||||
Keywords: []string{"twitter"},
|
||||
|
||||
Reference in new issue
Block a user