summaryrefslogtreecommitdiff
path: root/lib/api/notes.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-09-11 15:04:40 -0700
committerStan Hu <stanhu@gmail.com>2018-09-11 15:16:29 -0700
commit5c79c68ee755fb907227e3a74f018fc209c82242 (patch)
tree2add5cff62d068b7a98b19b8b4d431c89f0f1093 /lib/api/notes.rb
parente91dc8f4badfdb4742d1662f34edd85f43fb317f (diff)
downloadgitlab-ce-5c79c68ee755fb907227e3a74f018fc209c82242.tar.gz
Filter any parameters ending with "key" in logs
Rails does a partial match for strings in the filter_parameters configuration, so the parameter "key" causes "key_id" to be filtered even though it's a useful parameter for debugging internal API issues. We now revise this filter to make any parameter ending with "key" is filtered. Relates to https://gitlab.com/gitlab-com/gl-infra/production/issues/463
Diffstat (limited to 'lib/api/notes.rb')
0 files changed, 0 insertions, 0 deletions