MCPcopy
hub / github.com/openai/plugins / redact_string

Function redact_string

plugins/sentry/skills/sentry/scripts/sentry_api.py:21–24  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

19
20
21def redact_string(value):
22 value = EMAIL_RE.sub("[REDACTED_EMAIL]", value)
23 value = IP_RE.sub("[REDACTED_IP]", value)
24 return value
25
26
27def redact_data(value):

Callers 1

redact_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected