Mondoo Docs

Windows Firewall rule entry

Windows Firewall rule configuration

Operating System

Windows Firewall rule entry

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

Use MQL in cnspec shell or policy:

windows.firewall.rule
Min version: 5.15.0

Relationships

Mini Map
Operating System
2 resources · 2 relationshipsClick to select, expand fields to see properties.

Fields (16)

FieldTypeDescription
actionrequired
intSpecifies the action to take on traffic that matches this rule
descriptionrequired
stringBrief description of the rule
directionrequired
intSpecifies which direction of traffic to match with this rule
displayGrouprequired
stringThe group that this rule belongs to
displayNamerequired
stringLocalized name of this rule
edgeTraversalPolicyrequired
intSpecifies how this firewall rule will handle edge traversal cases
enabledrequired
intWhether this rule is administratively enabled or disabled
enforcementStatusrequired
stringWhether this object is retrieved from the ActiveStore
instanceIDrequired
stringA string that uniquely identifies this instance within the policy store
localOnlyMappingrequired
intWhether to group UDP packets into conversations based only on the local address and port
looseSourceMappingrequired
intWhether to group UDP packets into conversations based on the local address, local port, and remote port
namerequired
stringName of the rule
policyStoreSourcerequired
stringContains the path to the policy store where this rule originally came from
policyStoreSourceTyperequired
intDescribes the type of policy store where this rule originally came from
primaryStatusrequired
intPrimaryStatus provides a high level status value
statusrequired
stringDetailed status of the rule

Field Details

directionint

Values: inbound (1), outbound (2)

edgeTraversalPolicyint

Values: block (0), allow (1), defer to user (2), defer to app (3)

enabledint

Values: enabled (1), disabled (2)

primaryStatusint

Values: unknown (0), OK (1), degraded (2), error (3)