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

Adds opctim/symfony-csp-bundle #1610

Merged
merged 16 commits into from
Apr 27, 2024
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
opctim_csp_bundle:
# See https://github.com/opctim/symfony-csp-bundle?tab=readme-ov-file#the-always_add-option
always_add: []

# See https://github.com/opctim/symfony-csp-bundle?tab=readme-ov-file#the-report-option
report:
url: null
route: null
route_params: []
chance: 100

# https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
# See https://github.com/opctim/symfony-csp-bundle?tab=readme-ov-file#configuration
directives:
default-src:
- "'self'"
- 'data:'
- 'https:'
base-uri:
- "'self'"
object-src:
- "'none'"
script-src:
- "'self'"
img-src:
- "'self'"
style-src:
- "'self'"
- "'unsafe-inline'"

# For different set-ups in the dev environment
when@dev:
opctim_csp_bundle:
# always_add: []

directives:
# Add your directive overrides here
8 changes: 8 additions & 0 deletions opctim/symfony-csp-bundle/1.1/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"bundles": {
"Opctim\\CspBundle\\OpctimCspBundle": ["all"]
}
}
Loading