Baruch Odem (Rothkoff) f0dcd4d9cf feat: add JFrog API and Identity keys (#1233) 2 年之前
..
adafruit.go 9cc19ec0f8 adding airtable and adafruit (#902) 3 年之前
adobe.go f4ddeda433 Fix proper names capitalization (#907) 3 年之前
age.go 8481f0e9cd adding stopwords (#849) 4 年之前
airtable.go 9cc19ec0f8 adding airtable and adafruit (#902) 3 年之前
algolia.go 469cd22f61 updating generic regex and algoia regex (#875) 4 年之前
alibaba.go 8481f0e9cd adding stopwords (#849) 4 年之前
asana.go f93e5dc844 adding a ton of stopwords to the generic rule only as that is the loudest rule (#851) 4 年之前
atlassian.go efdc7749df Adding okta, codecov, zendesk, and updating Atlassian's rule to include `jira` keyword (#904) 3 年之前
authress.go b1d59bf890 fix broken vet, format some stuff 2 年之前
aws.go 8481f0e9cd adding stopwords (#849) 4 年之前
beamer.go 8481f0e9cd adding stopwords (#849) 4 年之前
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) 4 年之前
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 06db3b91d7 chore(config): fix inconsistent generated values (#1200) 2 年之前
confluent.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 年之前
contentful.go 8481f0e9cd adding stopwords (#849) 4 年之前
databricks.go 8481f0e9cd adding stopwords (#849) 4 年之前
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) 4 年之前
doppler.go 8481f0e9cd adding stopwords (#849) 4 年之前
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) 4 年之前
dynatrace.go 8481f0e9cd adding stopwords (#849) 4 年之前
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) 4 年之前
finicity.go 8481f0e9cd adding stopwords (#849) 4 年之前
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) 4 年之前
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) 4 年之前
grafana.go adf512e2ac Add grafana tokens rules (#959) 3 年之前
hashicorp.go 8481f0e9cd adding stopwords (#849) 4 年之前
heroku.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 年之前
hubspot.go 8481f0e9cd adding stopwords (#849) 4 年之前
intercom.go 8481f0e9cd adding stopwords (#849) 4 年之前
jfrog.go f0dcd4d9cf feat: add JFrog API and Identity keys (#1233) 2 年之前
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) 4 年之前
linkedin.go 8481f0e9cd adding stopwords (#849) 4 年之前
lob.go f93e5dc844 adding a ton of stopwords to the generic rule only as that is the loudest rule (#851) 4 年之前
mailchimp.go 8481f0e9cd adding stopwords (#849) 4 年之前
mailgun.go 8481f0e9cd adding stopwords (#849) 4 年之前
mapbox.go 8481f0e9cd adding stopwords (#849) 4 年之前
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) 4 年之前
npm.go 8481f0e9cd adding stopwords (#849) 4 年之前
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 年之前
openai.go 7dc9ba40a7 Add detection for OpenAI API keys (#1148) 2 年之前
plaid.go e78a22e19c Fix Plaid, add Plaid access token (#903) 3 年之前
planetscale.go 865478bcdc Improve PlanetScale token detection (#874) 4 年之前
postman.go 8481f0e9cd adding stopwords (#849) 4 年之前
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) 4 年之前
pypi.go 8481f0e9cd adding stopwords (#849) 4 年之前
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) 4 年之前
rule.go 463d24618f feat(slack): update token regex (#1161) 2 年之前
sendbird.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 年之前
sendgrid.go 8481f0e9cd adding stopwords (#849) 4 年之前
sendinblue.go 8481f0e9cd adding stopwords (#849) 4 年之前
sentry.go 05c165deb2 Fixes accidental type typos while translating rules from validation spreadsheet, adds bittrex rule 3 年之前
shippo.go 8481f0e9cd adding stopwords (#849) 4 年之前
shopify.go 8481f0e9cd adding stopwords (#849) 4 年之前
sidekiq.go cd52267113 Feature/add sidekiq rules (#933) 3 年之前
slack.go 463d24618f feat(slack): update token regex (#1161) 2 年之前
snyk.go a685551299 Add makefile variable detections (#1191) 2 年之前
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 6705461b33 Fix typos in *.md, comments and logs (#1185) 2 年之前
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) 4 年之前
twitch.go 8481f0e9cd adding stopwords (#849) 4 年之前
twitter.go e300b31be5 update twitter rule generation description and id 3 年之前
typeform.go 8481f0e9cd adding stopwords (#849) 4 年之前
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)
}