fluentd icon indicating copy to clipboard operation
fluentd copied to clipboard

plugin/in_http: recognize CSP reports as JSON data

Open GiedriusS opened this issue 10 months ago • 2 comments

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.

GiedriusS avatar Aug 29 '23 14:08 GiedriusS