Skip to content

Commit

Permalink
Correct some secrets filter regex (#1326)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellie authored Oct 25, 2023
1 parent 9f25ce5 commit e5fae4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions atuin-client/src/secrets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ pub static SECRET_PATTERNS: &[(&str, &str, &str)] = &[
),
(
"GitHub PAT (old)",
"^ghp_[a-zA-Z0-9]{36}$",
"ghp_[a-zA-Z0-9]{36}",
"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", // legit, I expired it
),
(
"GitHub PAT (new)",
"^github_pat_[a-zA-Z0-9]{22}_[a-zA-Z0-9]{59}$",
"github_pat_[a-zA-Z0-9]{22}_[a-zA-Z0-9]{59}",
"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", // also legit, also expired
),
(
Expand Down

1 comment on commit e5fae4d

@vercel
Copy link

@vercel vercel bot commented on e5fae4d Oct 25, 2023

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.