PayloadKit

Firewall

com.apple.security.firewall

The payload that configures the firewall.

macOS 10.12+
Apple schemacombined

Not available with User Enrollment · macOS: device channel only

Configuration Keys (8)

KeyTypeDescriptionDefaultRange

Enable Firewall

required
booleanIf 'true', the system enables the firewall.Default: —Range: —

Block All Incoming Connections

booleanIf 'true', the system enables blocking all incoming connections.Default: falseRange: —

Enable Stealth Mode

booleanIf 'true', the system enables stealth mode.Default: falseRange: —

Applications

arrayThe list of apps with connections that the firewall controls.Default: —Range: —

Applications

required
dictA firewall application item-Default: —Range: —
BundleIDstring

Application identifier

required
stringThe bundle identifier for the app.Default: —Range: —
Namestring

Name

required
stringName of application (Undocumented)Default: —Range: —
Allowedboolean

Allow connections

required
booleanIf 'true', the system allows connections for the app.Default: —Range: —

Enable Logging

booleanIf 'true', the system enables logging. Available in macOS 12 through macOS 14.6.Default: falseRange: —

Logging Option

stringThe type of logging. Available in macOS 12 and through macOS 14.6.Default: —Range: Throttled (throttled), Brief (brief), Detail (detail)

Allow Incoming Connections to macOS-Bundled Software

macOS 12.3+

booleanIf 'true', the system allows built-in software to receive incoming connections. Note: The system ensures that 'AllowSigned' always has a value. If missing from the payload, the system sets it to 'true'.Default: trueRange: —

Allow Incoming Connections to Downloaded Signed Apps

macOS 12.3+

booleanIf 'true', the system allows downloaded signed software to receive incoming connections. Note: The system ensures that 'AllowSignedApp' always has a value. If missing from the payload, the system sets it to 'true'.Default: trueRange: —