From 403fbe227dbcf42f9c21a758ce57ee7f09bfc8b1 Mon Sep 17 00:00:00 2001
From: Stan Hu <stanhu@gmail.com>
Date: Thu, 11 Jan 2018 16:19:59 +0000
Subject: [PATCH] Filter out build traces from logged parameters

---
 config/application.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config/application.rb b/config/application.rb
index 1110199b8889..cd5e3d45bab5 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -61,6 +61,7 @@ class Application < Rails::Application
     # - Any parameter containing `secret`
     # - Two-factor tokens (:otp_attempt)
     # - Repo/Project Import URLs (:import_url)
+    # - Build traces (:trace)
     # - Build variables (:variables)
     # - GitLab Pages SSL cert/key info (:certificate, :encrypted_key)
     # - Webhook URLs (:hook)
@@ -75,6 +76,7 @@ class Application < Rails::Application
       key
       otp_attempt
       sentry_dsn
+      trace
       variables
     )
 
-- 
GitLab