Skip to main content

windows.firewall.rule

Description

windows firewall rule entry https://docs.microsoft.com/en-us/previous-versions/windows/desktop/wfascimprov/msft-netfirewallrule

Fields

IDTYPEDESCRIPTION
instanceIDstringa string that uniquely identifies this instance within the PolicyStore
namestringname of the rule
displayNamestringlocalized name of this rule
descriptionstringbrief description of the rule
displayGroupstringthe group that this rule belongs to
enabledintindicates whether this rule is administratively enabled or disabled, values: enabled (1), disabled (2)
directionintspecifies which direction of traffic to match with this rule, values: inbound (1), outbound (2)
actionintspecifies the action to take on traffic that matches this rule
edgeTraversalPolicyintspecifies how this firewall rule will handle edge traversal cases, values: block (0), allow (1), defer to user (2), defer to app (3)
looseSourceMappingboolwhether to group UDP packets into conversations based upon the local address, local port, and remote port
localOnlyMappingboolwhether to group UDP packets into conversations based only upon the local address and port
primaryStatusintPrimaryStatus provides a high level status value, values: unknown (0), ok (1), degraded (2), error (3)
statusstringdetailed status of the rule
enforcementStatusstringif this object is retrieved from the ActiveStore
policyStoreSourcestringcontains the path to the policy store where this rule originally came from
policyStoreSourceTypeintdescribes the type of policy store where this rule originally came from