mirror of
https://github.com/atuinsh/atuin.git
synced 2025-06-20 18:07:57 +02:00
Correct some secrets filter regex (#1326)
This commit is contained in:
parent
9f25ce581a
commit
e5fae4dd76
@ -9,12 +9,12 @@ pub static SECRET_PATTERNS: &[(&str, &str, &str)] = &[
|
|||||||
),
|
),
|
||||||
(
|
(
|
||||||
"GitHub PAT (old)",
|
"GitHub PAT (old)",
|
||||||
"^ghp_[a-zA-Z0-9]{36}$",
|
"ghp_[a-zA-Z0-9]{36}",
|
||||||
"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", // legit, I expired it
|
"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", // legit, I expired it
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
"GitHub PAT (new)",
|
"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
|
"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", // also legit, also expired
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user