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

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