Skip to content
代码片段 群组 项目
未验证 提交 3881285c 编辑于 作者: Cindy Pallares's avatar Cindy Pallares
浏览文件

Merge branch 'security-182-update-workhorse' into 'master'

[Master] Redact sensitive information on gitlab-workhorse log

See merge request gitlab/gitlabhq!2584
上级 335434ca
No related branches found
No related tags found
无相关合并请求
---
title: Redact sensitive information on gitlab-workhorse log
merge_request:
author:
type: security
......@@ -103,6 +103,9 @@ class Application < Rails::Application
# - Webhook URLs (:hook)
# - Sentry DSN (:sentry_dsn)
# - File content from Web Editor (:content)
#
# NOTE: It is **IMPORTANT** to also update gitlab-workhorse's filter when adding parameters here to not
# introduce another security vulnerability: https://gitlab.com/gitlab-org/gitlab-workhorse/issues/182
config.filter_parameters += [/token$/, /password/, /secret/, /key$/]
config.filter_parameters += %i(
certificate
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册