Contents

reportEndpoint

The endpoint that the filter manager sends blocked URL reports to.

Declaration

var reportEndpoint: String? { get set }

Discussion

When configured, the manager sends reports of blocked URLs to the specified endpoint on the PIR server URL. In other words, for a PIR server at https://pir.example.com/ and an endpoint of reports, the manager sends reports to https://pir.example.com/reports.

The manager sends reports periodically, as determined by the reportInterval property, using the format specified by reportFormat. Each report is an HTTPS POST request, containing a list of blocked URLs accumulated during the last reporting period. The system authenticates and sends reports over the same OHTTP relay as the PIR traffic. Due to the system’s schedulding mechanism, your reporting system should allow slight deviations between the scheduled time and the actual performance of the task.

Reporting is available only on supervised devices. If you set this property on a non-supervised device, the manager will save the configuration but won’t send any reports.

To disable reporting, set this property to nil.

See Also

Producing filtering reports