Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include atuin login in secret patterns #1518

Merged
merged 2 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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