diff options
author | Julien P <julien@caffeine.lu> | 2024-07-01 13:07:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 12:07:52 +0100 |
commit | 1b0dad0b9841a74abc9c64426ba6c07db1e7ef32 (patch) | |
tree | 0ca37ed59914a6b85452442df179d5791713ad21 | |
parent | dfb6314634fd67340c490f304749fe2d55b74076 (diff) |
feat: Add npm, Netlify and Pulumi tokens to secret patterns (#2210)
-rw-r--r-- | crates/atuin-client/src/secrets.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/crates/atuin-client/src/secrets.rs b/crates/atuin-client/src/secrets.rs index a94e21d3d..8a093c86d 100644 --- a/crates/atuin-client/src/secrets.rs +++ b/crates/atuin-client/src/secrets.rs @@ -97,6 +97,21 @@ pub static SECRET_PATTERNS: &[(&str, &str, TestValue)] = &[ ), ("Stripe test key", "sk_test_[0-9a-zA-Z]{24}", TestValue::Single("sk_test_1234567890abcdefghijklmnop")), ("Stripe live key", "sk_live_[0-9a-zA-Z]{24}", TestValue::Single("sk_live_1234567890abcdefghijklmnop")), + ( + "Netlify authentication token", + "nf[pcoub]_[0-9a-zA-Z]{36}", + TestValue::Single("nfp_nBh7BdJxUwyaBBwFzpyD29MMFT6pZ9wq5634"), + ), + ( + "npm token", + "npm_[A-Za-z0-9]{36}", + TestValue::Single("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"), + ), + ( + "Pulumi personal access token", + "pul-[0-9a-f]{40}", + TestValue::Single("pul-683c2770662c51d960d72ec27613be7653c5cb26"), + ), ]; #[cfg(test)] |