method

report_uri

rails latest stable - Class: ActionDispatch::ContentSecurityPolicy
report_uri(uri)
public

Enable the report-uri directive. Violation reports will be sent to the specified URI:

policy.report_uri "/csp-violation-report-endpoint"