-
Story
-
Resolution: Done
-
Critical
-
None
-
None
-
None
-
None
This is a follow-up to CONSOLE-4263
As part of handling CSP violation events in Console, we should send the relevant CSP report data to telemetry service.
AC:
- Console collects and computes important CSP data (including whether the violation originated from a dynamic plugin) and sends it to telemetry service by the onCSPViolation hook.
- Console does not spam telemetry service with large volumes of redundant data. CSP violations will be stored in the browser's localStorage, based on the plugin name.
- Console should only report violations in productions mode.