mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-18 03:30:39 +09:00
Address remaining Greptile portability feedback
This commit is contained in:
parent
581a654748
commit
79652da520
5 changed files with 131 additions and 9 deletions
|
|
@ -351,10 +351,12 @@ function isSensitiveEnvKey(key: string) {
|
|||
normalized === "token" ||
|
||||
normalized.endsWith("_token") ||
|
||||
normalized.endsWith("-token") ||
|
||||
normalized.includes("apikey") ||
|
||||
normalized.includes("api_key") ||
|
||||
normalized.includes("api-key") ||
|
||||
normalized.includes("access_token") ||
|
||||
normalized.includes("access-token") ||
|
||||
normalized.includes("auth") ||
|
||||
normalized.includes("auth_token") ||
|
||||
normalized.includes("auth-token") ||
|
||||
normalized.includes("authorization") ||
|
||||
|
|
@ -364,6 +366,7 @@ function isSensitiveEnvKey(key: string) {
|
|||
normalized.includes("password") ||
|
||||
normalized.includes("credential") ||
|
||||
normalized.includes("jwt") ||
|
||||
normalized.includes("privatekey") ||
|
||||
normalized.includes("private_key") ||
|
||||
normalized.includes("private-key") ||
|
||||
normalized.includes("cookie") ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue