Commit e9d2f771 authored by Igor Drozdov's avatar Igor Drozdov

Scrub artifacts signed URL in SendEntry logs

Changelog: security
parent 7546a09e
......@@ -14,6 +14,7 @@ import (
"syscall"
"gitlab.com/gitlab-org/labkit/log"
"gitlab.com/gitlab-org/labkit/mask"
"gitlab.com/gitlab-org/gitlab/workhorse/internal/helper"
"gitlab.com/gitlab-org/gitlab/workhorse/internal/senddata"
......@@ -35,7 +36,7 @@ func (e *entry) Inject(w http.ResponseWriter, r *http.Request, sendData string)
log.WithContextFields(r.Context(), log.Fields{
"entry": params.Entry,
"archive": params.Archive,
"archive": mask.URL(params.Archive),
"path": r.URL.Path,
}).Print("SendEntry: sending")
......
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