Allow configuration of the Sentry send_default_pii parameter #9939

Closed
opened 2025-12-29 21:24:42 +01:00 by adam · 1 comment
Owner

Originally created by @mulmat on GitHub (Jul 3, 2024).

Originally assigned to: @mulmat on GitHub.

NetBox version

v4.0.6

Feature type

Change to existing functionality

Proposed functionality

Allow configuration of the Sentry send_default_pii parameter.

Also default to not send default pii data - to avoid sending auth tokens and session-ids.

Use case

For our use case, we do not want to log sensitive data such as auth tokens or session-ids from the cookies. By allowing configuration of the send_default_pii parameter this can be accomplished.
I would also like to change the default behavior so scrubbing these data points are the default behavior (a.k.a send_default_pii=False - just like it is in the Sentry sdk).

Database changes

No response

External dependencies

No response

Originally created by @mulmat on GitHub (Jul 3, 2024). Originally assigned to: @mulmat on GitHub. ### NetBox version v4.0.6 ### Feature type Change to existing functionality ### Proposed functionality Allow configuration of the Sentry `send_default_pii` parameter. Also default to not send default pii data - to avoid sending auth tokens and session-ids. ### Use case For our use case, we do not want to log sensitive data such as auth tokens or session-ids from the cookies. By allowing configuration of the `send_default_pii` parameter this can be accomplished. I would also like to change the default behavior so scrubbing these data points are the default behavior (a.k.a `send_default_pii=False` - just like it is in the Sentry sdk). ### Database changes _No response_ ### External dependencies _No response_
adam added the status: acceptedtype: featurecomplexity: low labels 2025-12-29 21:24:42 +01:00
adam closed this issue 2025-12-29 21:24:43 +01:00
Author
Owner

@mulmat commented on GitHub (Jul 3, 2024):

PR here

@mulmat commented on GitHub (Jul 3, 2024): PR [here](https://github.com/netbox-community/netbox/pull/16803)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9939