Get all compliance alert rules
Return the compliance rules of your company — the “Issue Triggers” page of the cockpit. One rule per compliance type (e.g. MDM_ENROLLMENT, MDM_ONLINE, MDM_CONTROL_ENCRYPTION); for each of its statuses, the cockpit shows Off, Create Issue or Create Issue and Ticket: a status in nonCompliantStatus raises an issue, and one also in ticketCreationStatus opens a ticket too. An MDM_CONTROL_* rule with canEnable: false has no enabled MDM control of its category, so nothing it lists can fire. Change a rule with updateComplianceAlertRule (by its id). The ticket defaults, the exceptions and whether auto-remediation is on are in getComplianceSettings. To list the devices currently alerting under these rules, use getComplianceAlerts.