Firewall (com.apple.security.firewall)

com.apple.security.firewall

The payload that configures the firewall.

macOS(10.12)
Branch: release

Settings (11)

SettingTypeRequiredDefaultManual InstallSupported OS
EnableFirewall
EnableFirewall
If `true`, the system enables the firewall.
booleanrequired
Yes
macOS (10.12+)
BlockAllIncoming
BlockAllIncoming
If `true`, the system enables blocking all incoming connections.
booleanoptional
Yes
macOS (10.12+)
EnableStealthMode
EnableStealthMode
If `true`, the system enables stealth mode.
booleanoptional
Yes
macOS (10.12+)
Applications
Applications
The list of apps with connections that the firewall controls.
1 subkey
arrayoptional
Yes
macOS (10.12+)
└─
Applications
ApplicationsItem
2 subkeys
dictionary
Yes
macOS (10.12+)
└─ └─
Application Identifier
BundleID
The bundle identifier for the app.
stringrequired
Yes
macOS (10.12+)
└─ └─
Allow connections
Allowed
If `true`, the system allows connections for the app.
booleanrequired
Yes
macOS (10.12+)
EnableLogging
EnableLogging
Deprecated (macOS 15.0)
If `true`, the system enables logging. Available in macOS 12 through macOS 14.6.
booleanoptional
Yes
macOS (12.0 - 15.0)
LoggingOption
LoggingOption
Deprecated (macOS 15.0)
The type of logging. Available in macOS 12 and through macOS 14.6.
stringoptional
Yes
macOS (12.0 - 15.0)
AllowSigned
AllowSigned
If `true`, the system allows built-in software to receive incoming connections. Available in macOS 12.3 and later. > Note: > The system ensures that `AllowSigned` always has a value. If missing from the payload, the system sets it to `true`.
booleanoptionaltrue
Yes
macOS (12.3+)
AllowSignedApp
AllowSignedApp
If `true`, the system allows downloaded signed software to receive incoming connections. Available in macOS 12.3 and later. > Note: > The system ensures that `AllowSignedApp` always has a value. If missing from the payload, the system sets it to `true`.
booleanoptionaltrue
Yes
macOS (12.3+)