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

Updated securityheaders #293

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/config_files/securityheaders.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
add_header X-Content-Type-Options nosniff;
add_header Referrer-Policy "same-origin";
add_header Permissions-Policy "fullscreen=(self), microphone=(), camera=(), autoplay=(), encrypted-media=(), geolocation=(), payment=(), usb=(), magnetometer=(), gyroscope=(), payment=()";
add_header Content-Security-Policy "default-src 'self'; frame-src 'self' https://login.microsoftonline.com; frame-ancestors 'self' https://login.microsoftonline.com; img-src 'self' https://*.equinor.com https://raw.githubusercontent.com data:; script-src 'self'; style-src 'self' 'unsafe-inline' https://cdn.eds.equinor.com; font-src 'self' https://cdn.eds.equinor.com; media-src 'none'; connect-src 'self' https://login.microsoftonline.com ${API_URL} https://graph.microsoft.com; block-all-mixed-content;";
add_header Content-Security-Policy "default-src 'self'; frame-src 'self' https://login.microsoftonline.com; frame-ancestors 'self' https://login.microsoftonline.com; img-src 'self' https://*.equinor.com https://raw.githubusercontent.com data:; script-src 'self'; style-src 'self' 'unsafe-inline' https://cdn.eds.equinor.com; font-src 'self' https://cdn.eds.equinor.com; media-src 'none'; connect-src 'self' wss://*.radix.equinor.com https://*.blob.core.windows.net https://login.microsoftonline.com ${API_URL} https://graph.microsoft.com; block-all-mixed-content;";
add_header X-XSS-Protection "1; mode=block";
2 changes: 1 addition & 1 deletion proxy/securityheaders.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
add_header X-Content-Type-Options nosniff;
add_header Referrer-Policy "same-origin";
add_header Permissions-Policy "fullscreen=(self), microphone=(), camera=(), autoplay=(), encrypted-media=(), geolocation=(), payment=(), usb=(), magnetometer=(), gyroscope=(), payment=()";
add_header Content-Security-Policy "default-src 'self'; frame-src 'self'; frame-ancestors 'self'; img-src 'self' https://raw.githubusercontent.com https://img.shields.io/npm/v/@equinor/amplify-components data:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline' https://cdn.eds.equinor.com; font-src 'self' https://cdn.eds.equinor.com; media-src 'none'; connect-src 'self'; block-all-mixed-content;";
add_header Content-Security-Policy "default-src 'self'; frame-src 'self' https://login.microsoftonline.com; frame-ancestors 'self' https://login.microsoftonline.com; img-src 'self' https://*.equinor.com https://raw.githubusercontent.com data:; script-src 'self'; style-src 'self' 'unsafe-inline' https://cdn.eds.equinor.com; font-src 'self' https://cdn.eds.equinor.com; media-src 'none'; connect-src 'self' wss://*.radix.equinor.com https://*.blob.core.windows.net https://login.microsoftonline.com ${API_URL} https://graph.microsoft.com; block-all-mixed-content;";
add_header X-XSS-Protection "1; mode=block";