feat: 增加 authorization 默认脱敏规则(by AI)
This commit is contained in:
parent
ec8406fe42
commit
6dfb33c459
@ -14,7 +14,7 @@ const LogTypeMonitor = "monitor"
|
|||||||
const LogTypeStatistic = "statistic"
|
const LogTypeStatistic = "statistic"
|
||||||
const LogTypeRequest = "request"
|
const LogTypeRequest = "request"
|
||||||
|
|
||||||
const LogDefaultSensitive = "phone,password,secret,token,accessToken"
|
const LogDefaultSensitive = "phone,password,secret,token,accessToken,authorization"
|
||||||
const LogEnvLevel = "LOG_LEVEL"
|
const LogEnvLevel = "LOG_LEVEL"
|
||||||
const LogEnvFile = "LOG_FILE"
|
const LogEnvFile = "LOG_FILE"
|
||||||
const LogEnvSensitive = "LOG_SENSITIVE"
|
const LogEnvSensitive = "LOG_SENSITIVE"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user