Filter secret CI variable values from logs
This commit is contained in:
parent
2b4e5c938b
commit
ddeefbdd24
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,7 @@ module Gitlab
|
|||
# - Webhook URLs (:hook)
|
||||
# - Sentry DSN (:sentry_dsn)
|
||||
# - Deploy keys (:key)
|
||||
# - Secret variable values (:secret_value)
|
||||
config.filter_parameters += [/token$/, /password/, /secret/]
|
||||
config.filter_parameters += %i(
|
||||
certificate
|
||||
|
@ -81,6 +82,7 @@ module Gitlab
|
|||
sentry_dsn
|
||||
trace
|
||||
variables
|
||||
secret_value
|
||||
)
|
||||
|
||||
# Enable escaping HTML in JSON.
|
||||
|
|
Loading…
Reference in a new issue