Michael Henriksen 2678a54290 Add detection rules for DigitalOcean tokens (#1002) 3 năm trước cách đây
..
adafruit.go 9cc19ec0f8 adding airtable and adafruit (#902) 3 năm trước cách đây
adobe.go f4ddeda433 Fix proper names capitalization (#907) 3 năm trước cách đây
age.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
airtable.go 9cc19ec0f8 adding airtable and adafruit (#902) 3 năm trước cách đây
algolia.go 469cd22f61 updating generic regex and algoia regex (#875) 3 năm trước cách đây
alibaba.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
asana.go f93e5dc844 adding a ton of stopwords to the generic rule only as that is the loudest rule (#851) 3 năm trước cách đây
atlassian.go efdc7749df Adding okta, codecov, zendesk, and updating Atlassian's rule to include `jira` keyword (#904) 3 năm trước cách đây
aws.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
beamer.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
bitbucket.go f4ddeda433 Fix proper names capitalization (#907) 3 năm trước cách đây
bittrex.go 05c165deb2 Fixes accidental type typos while translating rules from validation spreadsheet, adds bittrex rule 3 năm trước cách đây
clojars.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
codecov.go efdc7749df Adding okta, codecov, zendesk, and updating Atlassian's rule to include `jira` keyword (#904) 3 năm trước cách đây
coinbase.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
config.tmpl f6a87ca58c Remove ssn allowlist (#898) 3 năm trước cách đây
confluent.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
contentful.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
databricks.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
datadog.go 05c165deb2 Fixes accidental type typos while translating rules from validation spreadsheet, adds bittrex rule 3 năm trước cách đây
digitalocean.go 2678a54290 Add detection rules for DigitalOcean tokens (#1002) 3 năm trước cách đây
discord.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
doppler.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
droneci.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
dropbox.go c14af5ffdf maintain parity with recent changes... need to create rule contributing guidelines (#891) 3 năm trước cách đây
duffel.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
dynatrace.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
easypost.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
etsy.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
facebook.go f4ddeda433 Fix proper names capitalization (#907) 3 năm trước cách đây
fastly.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
finicity.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
finnhub.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
flickr.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
flutterwave.go 70028079b4 Update generate (#892) 3 năm trước cách đây
frameio.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
freshbooks.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
gcp.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
generic.go 1fc27eebda adding access to generic rule keywords and identifiers 3 năm trước cách đây
github.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
gitlab.go f4ddeda433 Fix proper names capitalization (#907) 3 năm trước cách đây
gitter.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
gocardless.go f93e5dc844 adding a ton of stopwords to the generic rule only as that is the loudest rule (#851) 3 năm trước cách đây
grafana.go adf512e2ac Add grafana tokens rules (#959) 3 năm trước cách đây
hashicorp.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
heroku.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
hubspot.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
intercom.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
jwt.go 96eed6aa0f Pretty output (#973) 3 năm trước cách đây
kraken.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
kucoin.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
launchdarkly.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
linear.go f93e5dc844 adding a ton of stopwords to the generic rule only as that is the loudest rule (#851) 3 năm trước cách đây
linkedin.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
lob.go f93e5dc844 adding a ton of stopwords to the generic rule only as that is the loudest rule (#851) 3 năm trước cách đây
mailchimp.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
mailgun.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
mapbox.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
mattermost.go 05c165deb2 Fixes accidental type typos while translating rules from validation spreadsheet, adds bittrex rule 3 năm trước cách đây
messagebird.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
netlify.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
newrelic.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
npm.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
nytimes.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
okta.go efdc7749df Adding okta, codecov, zendesk, and updating Atlassian's rule to include `jira` keyword (#904) 3 năm trước cách đây
plaid.go e78a22e19c Fix Plaid, add Plaid access token (#903) 3 năm trước cách đây
planetscale.go 865478bcdc Improve PlanetScale token detection (#874) 3 năm trước cách đây
postman.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
prefect.go e35cb6707a add prefect and readme rules (#961) 3 năm trước cách đây
privatekey.go c8681e4858 refactor: more precise rule for private keys (#930) 3 năm trước cách đây
pulumi.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
pypi.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
rapidapi.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
readme.go e35cb6707a add prefect and readme rules (#961) 3 năm trước cách đây
rubygems.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
rule.go cd52267113 Feature/add sidekiq rules (#933) 3 năm trước cách đây
sendbird.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
sendgrid.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
sendinblue.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
sentry.go 05c165deb2 Fixes accidental type typos while translating rules from validation spreadsheet, adds bittrex rule 3 năm trước cách đây
shippo.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
shopify.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
sidekiq.go cd52267113 Feature/add sidekiq rules (#933) 3 năm trước cách đây
slack.go 2678a54290 Add detection rules for DigitalOcean tokens (#1002) 3 năm trước cách đây
square.go cd52267113 Feature/add sidekiq rules (#933) 3 năm trước cách đây
squarespace.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
stopwords.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
stripe.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
sumologic.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
teams.go db43f9a342 Minor cleanup to error handling and logging (#985) 3 năm trước cách đây
telegram.go fc98cbf159 Issue #980: Add support for Telegram Bot API Token (#981) 3 năm trước cách đây
travisci.go 1297b41b10 adding travis ci 3 năm trước cách đây
trello.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
twilio.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
twitch.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
twitter.go e300b31be5 update twitter rule generation description and id 3 năm trước cách đây
typeform.go 8481f0e9cd adding stopwords (#849) 3 năm trước cách đây
vault.go b1853bd032 Add new rules for vault tokens (#919) 3 năm trước cách đây
yandex.go 73a3cf8afb Adding a bunch of new rules, update allowlist to include node_modules… (#896) 3 năm trước cách đây
zendesk.go efdc7749df Adding okta, codecov, zendesk, and updating Atlassian's rule to include `jira` keyword (#904) 3 năm trước cách đây

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