Commit ddeefbdd authored by Matija Čupić's avatar Matija Čupić

Filter secret CI variable values from logs

parent 2b4e5c93
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment