Skip to content
WordPress plugin for receiving browser reports via a Reporting API endpoint.
PHP Shell
Branch: master
Clone or download

README.md

WordPress plugin WordPress Build Status

Reporting API

WordPress plugin for receiving browser reports via a Reporting API endpoint.

Details

As noted on the Google Developers blog:

The Reporting API defines a new HTTP header, Report-To, that gives web developers a way to specify server endpoints for the browser to send warnings and errors to. Browser-generated warnings like CSP violations, Feature Policy violations, deprecations, browser interventions, and network errors are some of the things that can be collected using the Reporting API.

This plugin provides a storage mechanism and endpoint for browser reports according to the Reporting API spec in WordPress, as well as an admin interface for browsing these reports. It also provides an API for sending the Report-To response headers.

Reports admin screen with list view

As the Reporting API specification is still evolving and at an early stage, the plugin reflects that and is currently an experimental prototype, to demonstrate how Reporting API can be used in WordPress.

Did you know?

There is also a new specification called Feature Policy which will integrate with the Reporting API specification. There is a WordPress plugin for Feature Policy as well.

Requirements

  • WordPress >= 4.7
  • PHP >= 5.6

Contributing

Any kind of contributions to Reporting API are welcome. Please read the contributing guidelines to get started.

Further Resources

You can’t perform that action at this time.