diff options
| author | Matthew Berryman <matthew@acrossthecloud.net> | 2024-01-08 20:07:42 +1030 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-08 09:37:42 +0000 |
| commit | 915bff6d28276275607220dd926d9a54c11c0674 (patch) | |
| tree | 27fb17b0690495661f0689d7e152aea50836f8c0 | |
| parent | fix(bash): fix and improve the keybinding to `up` (#1515) (diff) | |
| download | atuin-915bff6d28276275607220dd926d9a54c11c0674.zip | |
feat: include atuin login in secret patterns (#1518)
* include atuin login in secret patterns
* doc catchup
| -rw-r--r-- | atuin-client/src/secrets.rs | 5 | ||||
| -rw-r--r-- | docs/docs/config/config.md | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/atuin-client/src/secrets.rs b/atuin-client/src/secrets.rs index a1788a6e..21f015cd 100644 --- a/atuin-client/src/secrets.rs +++ b/atuin-client/src/secrets.rs @@ -8,6 +8,11 @@ pub static SECRET_PATTERNS: &[(&str, &str, &str)] = &[ "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}", "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", // legit, I expired it diff --git a/docs/docs/config/config.md b/docs/docs/config/config.md index ffef155e..1e81230b 100644 --- a/docs/docs/config/config.md +++ b/docs/docs/config/config.md @@ -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 |
