fluentd
fluentd copied to clipboard
plugin/in_http: recognize CSP reports as JSON data
To make it easy to use fluentd for CSP reporting, let's parse retrieved data as JSON if the content type is application/csp-report
. It is guaranteed to be a well-formatted JSON according to the specification: https://www.w3.org/TR/CSP2/#violation-reports.