Skip to content

Commit

Permalink
Fix VaaS credentials leakage (#120)
Browse files Browse the repository at this point in the history
Fix VaaS credentials leakage in executor logs by logging only the
request path (credentials are in query string).
  • Loading branch information
medzin authored Jul 16, 2018
1 parent c6f3f33 commit 17e6340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hook/vaas/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (c *defaultClient) do(request *http.Request) (*http.Response, error) {
message = string(rawResponse)
}
return response, fmt.Errorf("VaaS API error at %s (HTTP %d): %s",
request.URL, response.StatusCode, message)
request.URL.Path, response.StatusCode, message)
}

return response, nil
Expand Down

0 comments on commit 17e6340

Please sign in to comment.