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

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