Richard Gomez 3be7faa1ff Update Hashicorp Vault token pattern (#1483) hai 1 ano
..
adafruit.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
adobe.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
age.go 6c52f878cc fix: age rule id with dashes (#1349) %!s(int64=2) %!d(string=hai) anos
airtable.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
algolia.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
alibaba.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
asana.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
atlassian.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
authress.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
aws.go 76c9e3175b Remove IAM identifiers for non-credential resources in the aws-access-token rule (#1307) %!s(int64=2) %!d(string=hai) anos
beamer.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
bitbucket.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
bittrex.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
clojars.go b4009bfba4 chore: remove unnecessary capture groups (#1460) hai 1 ano
cloudflare.go 821b232394 Add Cloudflare API and Origin CA keys (#1374) hai 1 ano
codecov.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
coinbase.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
config.tmpl 8a1ca9ecc9 Added poetry.lock to default allowlist paths (#1474) hai 1 ano
confluent.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
contentful.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
databricks.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
datadog.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
definednetworking.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
digitalocean.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
discord.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
doppler.go b4009bfba4 chore: remove unnecessary capture groups (#1460) hai 1 ano
droneci.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
dropbox.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
duffel.go b4009bfba4 chore: remove unnecessary capture groups (#1460) hai 1 ano
dynatrace.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
easypost.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
etsy.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
facebook.go 39947b0b0d extend FB access token discovery (#1407) hai 1 ano
fastly.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
finicity.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
finnhub.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
flickr.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
flutterwave.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
frameio.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
freshbooks.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
gcp.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
generic.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
github.go b4009bfba4 chore: remove unnecessary capture groups (#1460) hai 1 ano
gitlab.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
gitter.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
gocardless.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
grafana.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
harness.go b4009bfba4 chore: remove unnecessary capture groups (#1460) hai 1 ano
hashicorp.go 3be7faa1ff Update Hashicorp Vault token pattern (#1483) hai 1 ano
heroku.go 821b232394 Add Cloudflare API and Origin CA keys (#1374) hai 1 ano
hubspot.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
huggingface.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
infracost.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
intercom.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
intra42.go 575e923cf8 Add intra42 client secret (#1408) hai 1 ano
jfrog.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
jwt.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
kraken.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
kubernetes.go 7697b3e989 (feat): Adding secret detection rule for Kubernetes secrets (#1454) hai 1 ano
kucoin.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
launchdarkly.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
linear.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
linkedin.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
lob.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
mailchimp.go 979f213b93 update mailchimp with new tokens (#1376) %!s(int64=2) %!d(string=hai) anos
mailgun.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
mapbox.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
mattermost.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
messagebird.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
netlify.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
newrelic.go fe94ef9ca3 Add NewRelic insert key detection (#1417) hai 1 ano
npm.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
nytimes.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
okta.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
openai.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
openshift.go c1345e1b2b feat(openshift): add user token (#1449) hai 1 ano
plaid.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
planetscale.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
postman.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
prefect.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
privatekey.go b4009bfba4 chore: remove unnecessary capture groups (#1460) hai 1 ano
pulumi.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
pypi.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
rapidapi.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
readme.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
rubygems.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
rule.go 02808f45d0 Limit hashicorp-tf-password to .tf/.hcl files (#1420) hai 1 ano
scalingo.go 79cac73f72 tests: scalingo validation consistent test (#1359) hai 1 ano
sendbird.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
sendgrid.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
sendinblue.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
sentry.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
shippo.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
shopify.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
sidekiq.go b4009bfba4 chore: remove unnecessary capture groups (#1460) hai 1 ano
slack.go b4009bfba4 chore: remove unnecessary capture groups (#1460) hai 1 ano
snyk.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
square.go db69e8266e add update token from square (#1370) %!s(int64=2) %!d(string=hai) anos
squarespace.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
stopwords.go 128b50f67b style: sort the stopwords (#1289) %!s(int64=2) %!d(string=hai) anos
stripe.go 247f423a39 add real (test) standard and restricted keys (#1375) hai 1 ano
sumologic.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
teams.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
telegram.go b4009bfba4 chore: remove unnecessary capture groups (#1460) hai 1 ano
travisci.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
trello.go e63b657bcf remove secretgroup from default config (#1288) %!s(int64=2) %!d(string=hai) anos
twilio.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
twitch.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
twitter.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
typeform.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
vault.go 3be7faa1ff Update Hashicorp Vault token pattern (#1483) hai 1 ano
yandex.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos
zendesk.go 8de8938ad4 Enhance Secret Descriptions (#1300) %!s(int64=2) %!d(string=hai) anos

readme.go

package rules

import (
"github.com/zricethezav/gitleaks/v8/cmd/generate/secrets"
"github.com/zricethezav/gitleaks/v8/config"
)

func ReadMe() *config.Rule {
// define rule
r := config.Rule{
RuleID: "readme-api-token",
Description: "Detected a Readme API token, risking unauthorized documentation management and content exposure.",
Regex: generateUniqueTokenRegex(`rdme_[a-z0-9]{70}`, true),

Keywords: []string{
"rdme_",
},
}

// validate
tps := []string{
generateSampleSecret("api-token", "rdme_"+secrets.NewSecret(alphaNumeric("70"))),
}
return validate(r, tps, nil)
}