LightningWeb.SentryScrubber (Lightning v2.19.0-pre)

View Source

Request header scrubbing for Sentry.PlugContext, wired up in LightningWeb.Endpoint.

Summary

Functions

Drops Sentry's default sensitive headers, then ours. Returns a map, as Sentry.PlugContext.default_header_scrubber/1 does.

Functions

scrub_headers(conn)

@spec scrub_headers(Plug.Conn.t()) :: map()

Drops Sentry's default sensitive headers, then ours. Returns a map, as Sentry.PlugContext.default_header_scrubber/1 does.