MQL ResourcesOperating SystemWindows-specific resource to get operating system detailsWindows Firewall resource
Windows Firewall profile entry
Windows Firewall profile configuration
Operating System
Windows Firewall profile entry
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/wfascimprov/msft-netfirewallprofile
Use MQL in cnspec shell or policy:
windows.firewall.profileMin version: 5.15.0
Relationships
2 resources · 2 relationships·Click to select, expand fields to see properties.
Fields (18)
| Field | Type | Description |
|---|---|---|
allowInboundRulesrequired | int | Whether administrators can create firewall rules that allow unsolicited inbound traffic (if 0, such rules are ignored) |
allowLocalFirewallRulesrequired | int | Whether local firewall rules should merge into the effective policy along with group policy settings |
allowLocalIPsecRulesrequired | int | Whether local IPsec rules should merge into the effective policy along with rules from group policy |
allowUnicastResponseToMulticastrequired | int | Whether to allow unicast responses to multicast traffic |
allowUserAppsrequired | int | Whether to respect user allowed applications created in the legacy firewall |
allowUserPortsrequired | int | Whether to respect globally opened ports created in the legacy firewall |
defaultInboundActionrequired | int | Default action for inbound traffic |
defaultOutboundActionrequired | int | Default action for outbound traffic |
enabledrequired | int | Whether the firewall is enabled on this profile |
enableStealthModeForIPsecrequired | int | Whether to use stealth mode for IPsec-protected traffic |
instanceIDrequired | string | - |
logAllowedrequired | int | Whether to log allowed packets |
logBlockedrequired | int | Whether to log blocked traffic |
logFileNamerequired | string | Filename in which to store the firewall log |
logIgnoredrequired | int | Whether to log an event when rules are ignored |
logMaxSizeKilobytesrequired | int | Maximum size the log file can reach before being rotated |
namerequired | string | Name of the profile |
notifyOnListenrequired | int | Whether to notify users when an application listens on a port that is closed |