Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing csp-source datalandsbyen and (temporary) staging sparql #151

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

valosnah
Copy link
Contributor

No description provided.

@@ -54,7 +54,7 @@ http {

set $cspNonce $request_id;
set $csp_reports https://europe-west1-digdir-cloud-functions.cloudfunctions.net/cloud-logging-csp-staging;
set $csp_policy_fdk_portal "default-src 'self'; script-src 'self' https://siteimproveanalytics.com https://sparql.fellesdatakatalog.digdir.no 'unsafe-inline' 'unsafe-eval'; style-src 'self' https://altinncdn.no https://fonts.googleapis.com 'unsafe-inline'; object-src 'none'; base-uri 'self'; connect-src 'self' https://fellesdatakatalog.digdir.no https://*.fellesdatakatalog.digdir.no https://europe-west1-digdir-cloud-functions.cloudfunctions.net https://prefix.cc https://rdf.kartverket.no; font-src 'self' https://altinncdn.no https://fonts.gstatic.com; frame-src 'self' https://sso.fellesdatakatalog.digdir.no https://www.youtube.com; frame-ancestors 'none'; img-src 'self' https://datalandsbyen.norge.no https://orglogo.difi.no https://6255470.global.siteimproveanalytics.io; manifest-src 'self'; media-src 'self'; worker-src 'none'; report-uri ${csp_reports};";
set $csp_policy_fdk_portal "default-src 'self'; script-src 'self' https://siteimproveanalytics.com https://sparql.fellesdatakatalog.digdir.no 'unsafe-inline' 'unsafe-eval'; style-src 'self' https://altinncdn.no https://fonts.googleapis.com 'unsafe-inline'; object-src 'none'; base-uri 'self'; connect-src 'self' https://fellesdatakatalog.digdir.no https://*.fellesdatakatalog.digdir.no https://europe-west1-digdir-cloud-functions.cloudfunctions.net https://prefix.cc https://rdf.kartverket.no https://datalandsbyen.norge.no https://sparql.staging.fellesdatakatalog.digdir.no; font-src 'self' https://altinncdn.no https://fonts.gstatic.com; frame-src 'self' https://sso.fellesdatakatalog.digdir.no https://www.youtube.com; frame-ancestors 'none'; img-src 'self' https://datalandsbyen.norge.no https://orglogo.difi.no https://6255470.global.siteimproveanalytics.io; manifest-src 'self'; media-src 'self'; worker-src 'none'; report-uri ${csp_reports};";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

datalandsbyen skal ligge under connect-src ikke script-src

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants