Baruch Odem (Rothkoff) 6c52f878cc fix: age rule id with dashes (#1349) il y a 2 ans
..
adafruit.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
adobe.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
age.go 6c52f878cc fix: age rule id with dashes (#1349) il y a 2 ans
airtable.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
algolia.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
alibaba.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
asana.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
atlassian.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
authress.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
aws.go 76c9e3175b Remove IAM identifiers for non-credential resources in the aws-access-token rule (#1307) il y a 2 ans
beamer.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
bitbucket.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
bittrex.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
clojars.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
codecov.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
coinbase.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
config.tmpl f65f9157ff Added yarn.lock file to default allowlist paths (#1258) il y a 2 ans
confluent.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
contentful.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
databricks.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
datadog.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
definednetworking.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
digitalocean.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
discord.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
doppler.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
droneci.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
dropbox.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
duffel.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
dynatrace.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
easypost.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
etsy.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
facebook.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
fastly.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
finicity.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
finnhub.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
flickr.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
flutterwave.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
frameio.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
freshbooks.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
gcp.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
generic.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
github.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
gitlab.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
gitter.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
gocardless.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
grafana.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
hashicorp.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
heroku.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
hubspot.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
huggingface.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
infracost.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
intercom.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
jfrog.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
jwt.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
kraken.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
kucoin.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
launchdarkly.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
linear.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
linkedin.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
lob.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
mailchimp.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
mailgun.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
mapbox.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
mattermost.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
messagebird.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
netlify.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
newrelic.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
npm.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
nytimes.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
okta.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
openai.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
plaid.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
planetscale.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
postman.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
prefect.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
privatekey.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
pulumi.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
pypi.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
rapidapi.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
readme.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
rubygems.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
rule.go 18283bb48e feat(rules): make case insensitivity optional (#1215) il y a 2 ans
scalingo.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
sendbird.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
sendgrid.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
sendinblue.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
sentry.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
shippo.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
shopify.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
sidekiq.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
slack.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
snyk.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
square.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
squarespace.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
stopwords.go 128b50f67b style: sort the stopwords (#1289) il y a 2 ans
stripe.go afe046b3b4 Update stripe rule to not alert on publishable keys (#1320) il y a 2 ans
sumologic.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
teams.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
telegram.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
travisci.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
trello.go e63b657bcf remove secretgroup from default config (#1288) il y a 2 ans
twilio.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
twitch.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
twitter.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
typeform.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
vault.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
yandex.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans
zendesk.go 8de8938ad4 Enhance Secret Descriptions (#1300) il y a 2 ans

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)
}