feat: include atuin login in secret patterns (#1518)

* include atuin login in secret patterns

* doc catchup
This commit is contained in:
Matthew Berryman 2024-01-08 20:07:42 +10:30 committed by GitHub
parent 7dca752dc3
commit 915bff6d28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,11 @@ pub static SECRET_PATTERNS: &[(&str, &str, &str)] = &[
"AKIA[0-9A-Z]{16}",
"AKIAIOSFODNN7EXAMPLE",
),
(
"Atuin login",
r"atuin\s+login",
"atuin login -u mycoolusername -p mycoolpassword -k \"lots of random words\"",
),
(
"GitHub PAT (old)",
"ghp_[a-zA-Z0-9]{36}",

View File

@ -283,6 +283,7 @@ Defaults to true. This matches history against a set of default regex, and will
3. Slack oauth tokens (bot, user)
4. Slack webhooks
5. Stripe live/test keys
6. Atuin login command
## macOS <kbd>Ctrl-n</kbd> key shortcuts