Skip to content

feat: harden telemetry privacy filters and anon ID policy#4

Open
abrichr wants to merge 6 commits intofix/add-readme-badgesfrom
feat/telemetry-hardening-phase2
Open

feat: harden telemetry privacy filters and anon ID policy#4
abrichr wants to merge 6 commits intofix/add-readme-badgesfrom
feat/telemetry-hardening-phase2

Conversation

@abrichr
Copy link
Member

@abrichr abrichr commented Mar 16, 2026

Summary

  • harden privacy filtering by scrubbing top-level message and logentry fields
  • scrub context/tag values and enforce a strict observability tag allowlist
  • switch anonymization to versioned HMAC IDs (anon:v2:*) with per-install salt creation/persistence
  • make git-based internal classification opt-in via OPENADAPT_INTERNAL_FROM_GIT
  • enforce final privacy scrubber ordering for custom before_send hooks
  • update docs and add regression tests for all new behavior

Validation

  • uv run ruff check src/openadapt_telemetry/client.py src/openadapt_telemetry/config.py src/openadapt_telemetry/privacy.py tests/test_client.py tests/test_config.py tests/test_privacy.py
  • PYTHONPATH=src uv run pytest -q

Notes

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