invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

ComplianceStatusesBySite: Matomo Matomo Privacy Manager Compliance Statuses by Site

read only REST

  • Catalog: Matomo
  • Schema: PrivacyManager
  • Label: Matomo Privacy Manager Compliance Statuses by Site

Can only retrieve data.

Summary

Whether one compliance policy is enforced on one site (or the instance as a whole, via id_site 'all'), and the individual requirements that make up its own compliance check.

API Source

  • Endpoint: /index.php?module=API&method=PrivacyManager.getComplianceStatus&idSite={id_site}&complianceType={policy_id}&format=json

Performance Characteristics

Characteristic Value
Write rows per minute 3,260

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
id_site varchar2 The Matomo site ID to check, or 'all' for the instance-wide view.
policy_id varchar2 The policy to check - Matomo.PrivacyManager.CompliancePolicies.id.

Table Columns

The columns of the table ComplianceStatusesBySite are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
compliance_config_controlled char itgen_mat_compliance_config_controlled filters on the platform, writable, complianceConfigControlled Whether enforcement is fixed by this instance's own configuration file rather than changeable at runtime.
compliance_mode_enforced char itgen_mat_compliance_mode_enforced filters on the platform, writable, complianceModeEnforced Whether this policy is actively enforced for the site named by id_site.
compliance_requirements varchar2 itgen_mat_compliance_requirements filters on the platform, writable, complianceRequirements Every individual check this policy makes, as JSON text - each entry carries its own name, value ('compliant' or otherwise) and explanatory notes.