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 ...@@ -70,6 +70,7 @@ module Gitlab
# - Webhook URLs (:hook) # - Webhook URLs (:hook)
# - Sentry DSN (:sentry_dsn) # - Sentry DSN (:sentry_dsn)
# - Deploy keys (:key) # - Deploy keys (:key)
# - Secret variable values (:secret_value)
config.filter_parameters += [/token$/, /password/, /secret/] config.filter_parameters += [/token$/, /password/, /secret/]
config.filter_parameters += %i( config.filter_parameters += %i(
certificate certificate
...@@ -81,6 +82,7 @@ module Gitlab ...@@ -81,6 +82,7 @@ module Gitlab
sentry_dsn sentry_dsn
trace trace
variables variables
secret_value
) )
# Enable escaping HTML in JSON. # 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