Skip to content

Commit

Permalink
feat: include atuin login in secret patterns (#1518)
Browse files Browse the repository at this point in the history
* include atuin login in secret patterns

* doc catchup
  • Loading branch information
matthewberryman committed Jan 8, 2024
1 parent 7dca752 commit 915bff6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions atuin-client/src/secrets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down
1 change: 1 addition & 0 deletions docs/docs/config/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

1 comment on commit 915bff6

@vercel
Copy link

@vercel vercel bot commented on 915bff6 Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

atuin-docs – ./

atuin-docs-git-main-atuin.vercel.app
atuin-docs.vercel.app
atuin-docs-atuin.vercel.app

Please sign in to comment.