Installation - GoogleChromeLabs/IseWebSecurityBundle GitHub Wiki

Installation 💻

Installation of this module and its dependencies is handled by composer. The module is currently published on packagist and can be installed using the following command.

composer require googlechromelabs/ise-web-security-bundle

Once the module is successfully installed, in your Symfony project, you'll need to create the appropriate configuration file. To do this, go to /config/packages/ in your project, and create ise_web_security.yaml. This file is where all the configuration for the bundle will live. A basic default configuration pattern will look something like this:

ise_web_security.yaml

ise_web_security:
        defaults:
                coop:
                        active: true
                coep:
                        active: true
                fetch_metadata:
                        active: true
                        allowed_endpoints: ['/test']
        paths:
                '^/path':
                        coop:
                                active: false 
                                policy: 'same-site'
                        coep:
                                active: false

Further information on the configuration for the bundle is detailed here.