-
Notifications
You must be signed in to change notification settings - Fork 121
fix(connector): redact phone numbers from logs #1357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,10 +24,10 @@ import "livekit_rtc.proto"; | |
| import "logger/options.proto"; | ||
|
|
||
| message DialWhatsAppCallRequest { | ||
| // Required - The number of the business that is initiating the call | ||
| // Required - The phone number id of the business that is initiating the call | ||
| string whatsapp_phone_number_id = 1; | ||
| // Required - The number of the user that is supossed to receive the call | ||
| string whatsapp_to_phone_number = 2; | ||
| string whatsapp_to_phone_number = 2 [(logger.redact) = true]; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sip logs phone numbers everywhere - sip participant identities are phone numbers. it seems like we don't care about redacting this
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are open linear tickets to redact these in SIP as well |
||
| // Required - The API key of the business that is initiating the call | ||
| string whatsapp_api_key = 3 [(logger.redact) = true]; | ||
| // Required - WhatsApp Cloud API version, eg: 23.0, 24.0, etc. | ||
|
|
@@ -39,6 +39,7 @@ message DialWhatsAppCallRequest { | |
| // Optional - Agents to dispatch the call to | ||
| repeated RoomAgentDispatch agents = 6; | ||
| // Optional - Identity of the participant in LiveKit room | ||
| // This is used for logging purposes, so it is advised to not put PII in this field. | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added this note because it's easy to put PII in this field, I've made that mistake myself |
||
| string participant_identity= 7; | ||
| // Optional - Name of the participant in LiveKit room | ||
| string participant_name = 8 [ | ||
|
|
@@ -104,7 +105,7 @@ message ConnectWhatsAppCallResponse { | |
| } | ||
|
|
||
| message AcceptWhatsAppCallRequest { | ||
| // Required - The number of the business that is conencting the call | ||
| // Required - The phone number id of the business that is conencting the call | ||
| string whatsapp_phone_number_id = 1; | ||
| // Required - The API key of the business that is connecting the call | ||
| string whatsapp_api_key = 2 [(logger.redact) = true]; | ||
|
|
@@ -122,6 +123,7 @@ message AcceptWhatsAppCallRequest { | |
| // Optional - Agents to dispatch the call to | ||
| repeated RoomAgentDispatch agents = 7; | ||
| // Optional - Identity of the participant in LiveKit room | ||
| // This is used for logging purposes, so it is advised to not put PII in this field. | ||
| string participant_identity= 8; | ||
| // Optional - Name of the participant in LiveKit room | ||
| string participant_name = 9 [ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a note to make it more clear that it is an
idand not a phone number.On a side note, I have not redacted it since it's not PII