aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Berryman <matthew@acrossthecloud.net>2024-01-08 20:07:42 +1030
committerGitHub <noreply@github.com>2024-01-08 09:37:42 +0000
commit915bff6d28276275607220dd926d9a54c11c0674 (patch)
tree27fb17b0690495661f0689d7e152aea50836f8c0
parentfix(bash): fix and improve the keybinding to `up` (#1515) (diff)
downloadatuin-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.rs5
-rw-r--r--docs/docs/config/config.md1
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