Skip to content

Scrub more IP addresses  #1693

Closed
Closed

Description

@jjbayer

If the flag scrub_ip_addresses is enabled in legacy data scrubbing, we only scrub a handful of fields:

if datascrubbing_config.scrub_ip_addresses {
applications.insert(KNOWN_IP_FIELDS.clone(), vec!["@anything:remove".to_owned()]);
}

Should we instead (or in addition) apply the rule @ip:replace when this flag is enabled, such that any IP is caught?

"@ip:replace" => RuleSpec {
ty: RuleType::Ip,
redaction: Redaction::Replace(ReplaceRedaction {
text: "[ip]".into(),
}),
};

See also getsentry/sentry-docs#5916.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions