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

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