You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2023/01/13 13:52:39 UTC
[GitHub] [superset] michael-s-molina commented on pull request #22711: docs(security): clarify CSP requirements and provide example TALISMAN_CONFIG
michael-s-molina commented on PR #22711:
URL: https://github.com/apache/superset/pull/22711#issuecomment-1381885000
> Does this capture all the necessary requirements for Superset's CSP? Are there other considerations that should be highlighted?
Depending on the features one will use, there may be additional configurations:
- Some dashboards use the data protocol to load images and therefore need `"img-src": "'self' data:"`
- MapBox chart requires: `"worker-src": "'self' blob:"` and `"connect-src": "'self' https://api.mapbox.com https://events.mapbox.com"`
> Is there any reason to break out individual CSP sections like script-src and style-src vs using default-src in the example? I'd favor simplicity as a starting point if there's no compelling reason to break them out.
You should break only if you need to (see examples above).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org