Skip to content
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

feat(pii): Scrub attachments with explicit rules #4415

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

jjbayer
Copy link
Member

@jjbayer jjbayer commented Dec 19, 2024

Opt-in projects that have defined explicit $attachment.'filename.txt' rules to non-mindump attachment scrubbing.

ref: #4368

@jjbayer jjbayer changed the title Feat/scrub attachments feat(pii): Scrub attachments with explicit rules Dec 19, 2024
@jjbayer jjbayer marked this pull request as ready for review January 7, 2025 12:43
@jjbayer jjbayer requested a review from a team as a code owner January 7, 2025 12:43
let mut payload = item.payload().to_vec();

let processor = PiiAttachmentsProcessor::new(config.compiled());
metric!(timer(RelayTimers::AttachmentScrubbing), {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we tag the metric now with what type is being scrubbed?

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.

2 participants