Skip to content

Commit f5c7fa8

Browse files
committed
Redact the 'proximity' parameter from honeycomb.
Signed-off-by: Katharine Berry <[email protected]>
1 parent 616edd4 commit f5c7fa8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

service/assistant/util/redact/honeycomb.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ var sensitiveQueryParams = []string{
1111
"prompt", // the user's prompt
1212
"threadId", // the thread the prompt belongs to, if any
1313
"lon", "lat", // user's location as sent to us
14-
"tzOffset", // user's timezone offset as sent to us
15-
"token", // user's auth (timeline) token, identifies them uniquely.
14+
"proximity", // the target location for a POI lookup
15+
"tzOffset", // user's timezone offset as sent to us
16+
"token", // user's auth (timeline) token, identifies them uniquely.
1617
}
1718
var mapboxPathRegex = regexp.MustCompile(`^/geocoding/v5/mapbox\.places/.+?.json$`)
1819

0 commit comments

Comments
 (0)