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

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