PayloadKit

System Policy Rule

com.apple.systempolicy.rule

The payload that configures the system policy.

macOS 10.8+
Apple schema

Not available with User Enrollment · macOS: device channel only

Configuration Keys (6)

KeyTypeDescriptionDefaultRange
stringThe policy requirement. This key must follow the syntax described in [Code Signing Requirement Language](https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/RequirementLang/RequirementLang.html#//apple_ref/doc/uid/TP40005929-CH5).Default: —Range: —
Commentstring
stringThis string appears in the System Policy UI. If it's missing, the device enters `PayloadDisplayName` or `PayloadDescription` into this field before adding the rule to the System Policy database.Default: —Range: —
realThe rule's priority.Default: —Range: —
dateThe expiration date for rules being processed.Default: —Range: —
stringThe type of operation.Default: "operation:execute"Range: operation:execute, operation:install, operation:lsopen
dataThe single leaf certificate for the app that's in the allow list.Default: —Range: —