Skip to content

Commit

Permalink
Update roundtripper.go (#4010)
Browse files Browse the repository at this point in the history
* Update roundtripper.go

Fixes:
Remove RequestURL supplementary data to enhance security of log content.

* Update roundtripper.go

Realized I could easily change to only the base domain. Made that change instead of deleting the field from logging.
  • Loading branch information
hlipsig authored and cadenmarchese committed Dec 13, 2024
1 parent a73f541 commit b7e53e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/azureclient/roundtripper.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func updateCorrelationDataAndEnrichLogWithRequest(correlationData *api.Correlati

l = utillog.EnrichWithCorrelationData(l, correlationData)
l = l.WithFields(logrus.Fields{
"request_URL": req.URL,
"request_URL": req.URL.Host,
"LOGKIND": outboundRequests,
})

Expand Down

0 comments on commit b7e53e7

Please sign in to comment.