class ActionDispatch::ContentSecurityPolicy

def report_uri(uri)


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

specified URI:
directive. Violation reports will be sent to the
Enable the [report-uri](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-uri)
def report_uri(uri)
  @directives["report-uri"] = [uri]
end