Drive marker PII sanitization from schemas - #6291
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6291 +/- ##
==========================================
+ Coverage 83.82% 83.87% +0.05%
==========================================
Files 350 353 +3
Lines 37744 37888 +144
Branches 10646 10687 +41
==========================================
+ Hits 31638 31779 +141
- Misses 5677 5680 +3
Partials 429 429 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
canova
left a comment
There was a problem hiding this comment.
Thanks a lot! I have some high level schema related question, let me know what you think!
|
I haven't looked at the code yet but I'd like to point out #5301 which has a related proposal. |
|
@mstange ah thanks! I forgot that this was filed. Structurally it's actually very similar to what I suggested (minus the naming differences) but I forgot the |
Let's handle |
|
Thanks for the review, @canova! I've addressed the issues now. |
Markers requiring PII sanitization were identified through hardcoded `data.type` checks. Describing PII categories in marker schema fields removes type-specific branching while leaving sanitization behavior to the consumer.
|
Thanks for the feedback, @mstange! Done now ✅ |
|
I don't see an upgrader; what happens if you re-upload an existing old uploaded profile and uncheck some checkboxes in the re-upload? |
|
Also does there need to be code in profile processing which adds these annotations when converting from a Gecko profiler? |
Main | Deploy preview
Markers requiring PII sanitization were identified through hardcoded
data.typechecks. Putting PII directives in marker schema fields removes type-specific branching and makes sanitization generic.Closes #6290
Profile
Published using Prod | Published using Deploy Preview