Baruch Odem (Rothkoff) f0dcd4d9cf feat: add JFrog API and Identity keys (#1233) 2 anni fa
..
adafruit.go 9cc19ec0f8 adding airtable and adafruit (#902) 3 anni fa
adobe.go f4ddeda433 Fix proper names capitalization (#907) 3 anni fa
age.go 8481f0e9cd adding stopwords (#849) 3 anni fa
airtable.go 9cc19ec0f8 adding airtable and adafruit (#902) 3 anni fa
algolia.go 469cd22f61 updating generic regex and algoia regex (#875) 3 anni fa
alibaba.go 8481f0e9cd adding stopwords (#849) 3 anni fa
asana.go f93e5dc844 adding a ton of stopwords to the generic rule only as that is the loudest rule (#851) 3 anni fa
atlassian.go efdc7749df Adding okta, codecov, zendesk, and updating Atlassian's rule to include `jira` keyword (#904) 3 anni fa
authress.go b1d59bf890 fix broken vet, format some stuff 2 anni fa
aws.go 8481f0e9cd adding stopwords (#849) 3 anni fa
beamer.go 8481f0e9cd adding stopwords (#849) 3 anni fa
bitbucket.go f4ddeda433 Fix proper names capitalization (#907) 3 anni fa
bittrex.go 05c165deb2 Fixes accidental type typos while translating rules from validation spreadsheet, adds bittrex rule 3 anni fa
clojars.go 8481f0e9cd adding stopwords (#849) 3 anni fa
codecov.go efdc7749df Adding okta, codecov, zendesk, and updating Atlassian's rule to include `jira` keyword (#904) 3 anni fa
coinbase.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
config.tmpl 06db3b91d7 chore(config): fix inconsistent generated values (#1200) 2 anni fa
confluent.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
contentful.go 8481f0e9cd adding stopwords (#849) 3 anni fa
databricks.go 8481f0e9cd adding stopwords (#849) 3 anni fa
datadog.go 05c165deb2 Fixes accidental type typos while translating rules from validation spreadsheet, adds bittrex rule 3 anni fa
definednetworking.go 6b0c303b26 Add Defined Networking API Tokens (#1096) 2 anni fa
digitalocean.go 2678a54290 Add detection rules for DigitalOcean tokens (#1002) 3 anni fa
discord.go 8481f0e9cd adding stopwords (#849) 3 anni fa
doppler.go 8481f0e9cd adding stopwords (#849) 3 anni fa
droneci.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
dropbox.go c14af5ffdf maintain parity with recent changes... need to create rule contributing guidelines (#891) 3 anni fa
duffel.go 8481f0e9cd adding stopwords (#849) 3 anni fa
dynatrace.go 8481f0e9cd adding stopwords (#849) 3 anni fa
easypost.go 1fb3a77eb8 Update gitleaks.toml (#1116) 2 anni fa
etsy.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
facebook.go 8a31f4a4be Improve rule descriptions for Stripe and Facebook access tokens (#1119) 2 anni fa
fastly.go 8481f0e9cd adding stopwords (#849) 3 anni fa
finicity.go 8481f0e9cd adding stopwords (#849) 3 anni fa
finnhub.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
flickr.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
flutterwave.go 70028079b4 Update generate (#892) 3 anni fa
frameio.go 8481f0e9cd adding stopwords (#849) 3 anni fa
freshbooks.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
gcp.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
generic.go 1fc27eebda adding access to generic rule keywords and identifiers 3 anni fa
github.go d0733f96f3 Add rule for fine-grained GitHub PAT (#1026) 3 anni fa
gitlab.go afdccad46f Add missing GitLab token patterns (#1077) 3 anni fa
gitter.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
gocardless.go f93e5dc844 adding a ton of stopwords to the generic rule only as that is the loudest rule (#851) 3 anni fa
grafana.go adf512e2ac Add grafana tokens rules (#959) 3 anni fa
hashicorp.go 8481f0e9cd adding stopwords (#849) 3 anni fa
heroku.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
hubspot.go 8481f0e9cd adding stopwords (#849) 3 anni fa
intercom.go 8481f0e9cd adding stopwords (#849) 3 anni fa
jfrog.go f0dcd4d9cf feat: add JFrog API and Identity keys (#1233) 2 anni fa
jwt.go f77493274a adding jwt tokens with padding format "=" (#1031) 3 anni fa
kraken.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
kucoin.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
launchdarkly.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
linear.go f93e5dc844 adding a ton of stopwords to the generic rule only as that is the loudest rule (#851) 3 anni fa
linkedin.go 8481f0e9cd adding stopwords (#849) 3 anni fa
lob.go f93e5dc844 adding a ton of stopwords to the generic rule only as that is the loudest rule (#851) 3 anni fa
mailchimp.go 8481f0e9cd adding stopwords (#849) 3 anni fa
mailgun.go 8481f0e9cd adding stopwords (#849) 3 anni fa
mapbox.go 8481f0e9cd adding stopwords (#849) 3 anni fa
mattermost.go 05c165deb2 Fixes accidental type typos while translating rules from validation spreadsheet, adds bittrex rule 3 anni fa
messagebird.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
netlify.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
newrelic.go 8481f0e9cd adding stopwords (#849) 3 anni fa
npm.go 8481f0e9cd adding stopwords (#849) 3 anni fa
nytimes.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
okta.go efdc7749df Adding okta, codecov, zendesk, and updating Atlassian's rule to include `jira` keyword (#904) 3 anni fa
openai.go 7dc9ba40a7 Add detection for OpenAI API keys (#1148) 2 anni fa
plaid.go e78a22e19c Fix Plaid, add Plaid access token (#903) 3 anni fa
planetscale.go 865478bcdc Improve PlanetScale token detection (#874) 3 anni fa
postman.go 8481f0e9cd adding stopwords (#849) 3 anni fa
prefect.go e35cb6707a add prefect and readme rules (#961) 3 anni fa
privatekey.go e002920355 Fix rule for private keys (#1072) 3 anni fa
pulumi.go 8481f0e9cd adding stopwords (#849) 3 anni fa
pypi.go 8481f0e9cd adding stopwords (#849) 3 anni fa
rapidapi.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
readme.go e35cb6707a add prefect and readme rules (#961) 3 anni fa
rubygems.go 8481f0e9cd adding stopwords (#849) 3 anni fa
rule.go 463d24618f feat(slack): update token regex (#1161) 2 anni fa
sendbird.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
sendgrid.go 8481f0e9cd adding stopwords (#849) 3 anni fa
sendinblue.go 8481f0e9cd adding stopwords (#849) 3 anni fa
sentry.go 05c165deb2 Fixes accidental type typos while translating rules from validation spreadsheet, adds bittrex rule 3 anni fa
shippo.go 8481f0e9cd adding stopwords (#849) 3 anni fa
shopify.go 8481f0e9cd adding stopwords (#849) 3 anni fa
sidekiq.go cd52267113 Feature/add sidekiq rules (#933) 3 anni fa
slack.go 463d24618f feat(slack): update token regex (#1161) 2 anni fa
snyk.go a685551299 Add makefile variable detections (#1191) 2 anni fa
square.go cd52267113 Feature/add sidekiq rules (#933) 3 anni fa
squarespace.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
stopwords.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
stripe.go 8a31f4a4be Improve rule descriptions for Stripe and Facebook access tokens (#1119) 2 anni fa
sumologic.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
teams.go db43f9a342 Minor cleanup to error handling and logging (#985) 3 anni fa
telegram.go 6705461b33 Fix typos in *.md, comments and logs (#1185) 2 anni fa
travisci.go 1297b41b10 adding travis ci 3 anni fa
trello.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
twilio.go 8481f0e9cd adding stopwords (#849) 3 anni fa
twitch.go 8481f0e9cd adding stopwords (#849) 3 anni fa
twitter.go e300b31be5 update twitter rule generation description and id 3 anni fa
typeform.go 8481f0e9cd adding stopwords (#849) 3 anni fa
vault.go b1853bd032 Add new rules for vault tokens (#919) 3 anni fa
yandex.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 anni fa
zendesk.go efdc7749df Adding okta, codecov, zendesk, and updating Atlassian's rule to include `jira` keyword (#904) 3 anni fa

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: "Readme API token",
Regex: generateUniqueTokenRegex(`rdme_[a-z0-9]{70}`),
SecretGroup: 1,
Keywords: []string{
"rdme_",
},
}

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