Review 12.4 Merged

85809[TASK] Introduce Content-Security-Policy-Report-Only handling

Oliver Hader CR +2 V +2 Expert +947 −84 updated 08/28/24, 13:14

Commit message

+ new feature flag `security.frontend.reportContentSecurityPolicy`,
  to be used next to `security.frontend.enforceContentSecurityPolicy`,
  resulting in `Content-Security-Policy-Report-Only` and/or
  `Content-Security-Policy` HTTP headers
+ new `enforce` and `report` segments in `csp.yaml` site config
+ possibility to disable CSP for a particular site by either setting
  `active: false` in the `csp.yaml` site config
+ allows having the HTTP headers `Content-Security-Policy` and
  `Content-Security-Policy-Report-Only` side-by-side in the frontend

Review

  • Code review CR +2 Done
    • Oliver Hader +2
  • Verified V +2 Done
    • Oliver Hader +2
    • core-ci +1 CI

Issues 2

Files 18

Review log 34

  1. Oliver Hader uploaded patch set 1 08/28/24, 10:36

  2. core-ci voted on patch set 1 V +1 08/28/24, 10:42 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/64408

  3. Oliver Hader voted on patch set 1 CR +2 V +2 08/28/24, 13:13

  4. Oliver Hader merged patch set 2 08/28/24, 13:14