Issue Feature Closed

#104470CSP - Report-Only mode

cosmoblonde GmbH 07/24/24, 14:45 updated 10/15/24, 09:08

Description

Implementing a proper CSP for a complex TYPO3 site using many external sources, scripts and stuff is a nasty and timeconsuming task.

So although it’s great that CSP violations can be tracked with TYPO3 in the CSP BE module – it would be good if a Report-Only Tracking could be set via configuration. So a website can run a while in reporting-mode and you can collect the issues and fix them.

We do not find any configuration flags that would enable a Report-Only mode.

You can turn on
SYS.features.security.backend.enforceContentSecurityPolicy
and/or
SYS.features.security.frontend.enforceContentSecurityPolicy

but this does directly activate the CSP – so the FE may become unusable and this is not suitable for a live site.

Or is this already possible and we have just missed the respective documentation?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.