From 915bff6d28276275607220dd926d9a54c11c0674 Mon Sep 17 00:00:00 2001 From: Matthew Berryman Date: Mon, 8 Jan 2024 20:07:42 +1030 Subject: feat: include atuin login in secret patterns (#1518) * include atuin login in secret patterns * doc catchup --- atuin-client/src/secrets.rs | 5 +++++ docs/docs/config/config.md | 1 + 2 files changed, 6 insertions(+) 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 @@ -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}", 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 Ctrl-n key shortcuts -- cgit v1.3.1