Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Security defenses: allow setting Reporting-Endpoints response header for usage e.g. in CSP #32078

@dominiktopp

Description

@dominiktopp

Description

Keycloak should support setting the Reporting-Endpoints response header.

Content Security Policy supports reporting of violations (see here).

Discussion

No response

Motivation

The Reporting-Endpoints response header can be used e.g. for Content Security Policy violation reports (see here).

Details

Setting the complete reporting endpoint url in the CSP report-to directive did not work (at least in Chrome) althoug some examples on MDN are using them.
As a workaround we are setting the Reporting-Endpoints response header in our application gateway, but it would be much simpler to configure CSP and Reporting-Endpoints in one place.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions