Module csp

Source
Expand description

Implements event filtering for events originating from CSP endpoints

Events originating from a CSP message can be filtered based on the source URL

Structs§

SchemeDomainPort
A pattern used to match allowed paths.

Functions§

matches_any_origin
Checks if a url satisfies one of the specified origins.
should_filter
Filters CSP events based on disallowed sources.