diff --git a/server/configs/application.properties b/server/configs/application.properties index 3cd35fa915..527b1ce49a 100644 --- a/server/configs/application.properties +++ b/server/configs/application.properties @@ -128,28 +128,30 @@ management.server.port=@@shutdownPort@@ ## START OF CSP ENFORCE BLOCK (DO NOT CHANGE THIS TEXT) #useLocalBuild#csp.enforce=\ #useLocalBuild# default-src 'self' https: ;\ -#useLocalBuild# connect-src 'self' ${LABKEY.ALLOWED.CONNECTIONS} ;\ +#useLocalBuild# connect-src 'self' ${CONNECTION.SOURCES} ;\ #useLocalBuild# object-src 'none' ;\ -#useLocalBuild# style-src 'self' https: 'unsafe-inline' ;\ +#useLocalBuild# style-src 'self' https: 'unsafe-inline' ${STYLE.SOURCES} ;\ #useLocalBuild# img-src 'self' https: data: ;\ -#useLocalBuild# font-src 'self' data: ;\ +#useLocalBuild# font-src 'self' data: ${FONT.SOURCES} ;\ #useLocalBuild# script-src 'self' 'unsafe-eval' 'strict-dynamic' 'nonce-${REQUEST.SCRIPT.NONCE}' ;\ #useLocalBuild# base-uri 'self' ;\ #useLocalBuild# frame-ancestors 'self' ;\ +#useLocalBuild# frame-src 'self' ${FRAME.SOURCES} ;\ #useLocalBuild# report-uri /admin-contentsecuritypolicyreport.api?${CSP.REPORT.PARAMS} ; ## END OF CSP ENFORCE BLOCK (DO NOT CHANGE THIS TEXT) ## START OF CSP REPORT BLOCK (DO NOT CHANGE THIS TEXT) csp.report=\ default-src 'self' ; /* Limit the default to only the current server */\ - connect-src 'self' ${LABKEY.ALLOWED.CONNECTIONS} ; /* For security purposes limit allowed connection sources, can be substituted and appended via the LabKey Admin UI */\ + connect-src 'self' ${CONNECTION.SOURCES} ; /* For security purposes limit allowed connection sources, can be substituted and appended via the LabKey Admin UI */\ object-src 'none' ; /* These tags are not currently used by LKS */\ - style-src 'self' 'unsafe-inline' ; /* We currently have a few inline