Allows the logging of CSP violations in SilverStripe
composer require camspiers/silverstripe-csp-logging
Provide an instance of Psr\Log\LoggerInterface
to the CSP controller:
mysite/_config/csp.yml
and add your logging service to the controllerInjector:
Camspiers\CSP\Controller:
constructor:
0: %$Monolog
Content-Security-Policy
header to log violations through SilverStripeModule rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem