Org Web Adapter

pages/eng_17810_scrubbing_sensitive_demographic_attributes_data_v2.org

ENG-17810 - Scrubbing Sensitive Demographic Attributes Data v2

#+roam_alias: ENG-17810

Setup redaction test

#+begin_src python

from ff.mods.attributes.utils import *

from ff.mods.attributes.tests.sentry_examples import *

test_event = {

'exception': {

'values': [

{

'stacktrace': {

'frames': [{'vars': STACKTRACE_NEEDS_REDACTION}],

}

}

]

}

}

redaction.redact_demographics_people_attribute_values_from_sentry_event(test_event)

#+end_src