-
Bug
-
Resolution: Done
-
Major
-
netobserv-1.8-candidate
-
False
-
None
-
False
-
-
-
NetObserv - Sprint 264, NetObserv - Sprint 265
-
Important
Description of problem:
OCP console shows warning for netobserv console plugin that it violates content security policy
Steps to Reproduce:
1. Deploy OCP for 4.18 (noticed on: 4.18.0-0.nightly-2024-11-27-012716) 2. Install netobserv from upstream with v0.0.0-main tag 3. Create a flowcollector 3. Logon to OCP console; below warning could be seen in dev console.
Actual results:
[Report Only] Refused to create a worker from 'blob:https://console-openshift-console.apps.memodi-11250849.qe.devcluster.openshift.com/9c91775c-6e98-42e3-8d40-5397f6dc5e76' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'nonce-S-JJv0sAiPeXRv_Wqdr10KfNkGXuFNXo'". Note that 'worker-src' was not explicitly set, so 'script-src' is used as a fallback. ZU @ index.js:143605
Expected results:
Warning should not appear
https://redhat-internal.slack.com/archives/C02939DP5L5/p1732552051436789
- account is impacted by
-
NETOBSERV-1924 Console plugin: pf5 migration
-
- Closed
-
- is blocked by
-
OCPBUGS-46513 "contentSecurityPolicy" spec not supported by ConsolePlugin CRD (in production)
-
- Verified
-
- links to