Skip to content

Commit

Permalink
Add to header list
Browse files Browse the repository at this point in the history
  • Loading branch information
rmweir authored and pjbgf committed May 31, 2023
1 parent a328db2 commit 6e60606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/auth/audit/audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var (
http.MethodPut: true,
http.MethodPost: true,
}
sensitiveRequestHeader = []string{"Cookie", "Authorization"}
sensitiveRequestHeader = []string{"Cookie", "Authorization", "X-Api-Tunnel-Params", "X-Api-Tunnel-Token"}
sensitiveResponseHeader = []string{"Cookie", "Set-Cookie"}
// ErrUnsupportedEncoding is returned when the response encoding is unsupported
ErrUnsupportedEncoding = fmt.Errorf("unsupported encoding")
Expand Down

0 comments on commit 6e60606

Please sign in to comment.