Skip to content

Redact sensitive diagnostics option values#40

Open
fhwvtqdc2q-svg wants to merge 2 commits into
statsig-io:mainfrom
fhwvtqdc2q-svg:codex/redact-statsig-diagnostics
Open

Redact sensitive diagnostics option values#40
fhwvtqdc2q-svg wants to merge 2 commits into
statsig-io:mainfrom
fhwvtqdc2q-svg:codex/redact-statsig-diagnostics

Conversation

@fhwvtqdc2q-svg
Copy link
Copy Markdown

Summary

  • avoid sending the literal overrideStableID value in diagnostics logging
  • remove URL credentials, query strings, and fragments before including custom endpoint URLs in diagnostics payloads
  • add tests for stable ID and URL redaction in getDictionaryForLogging()

Validation

  • Not run locally: Swift toolchain is not installed on this Windows machine.
  • Local checkout note: source was inspected from a tar archive because this workspace is Windows-based.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant