windows.firewall
Description
Windows Firewall resource
Fields
ID | TYPE | DESCRIPTION |
---|---|---|
settings | dict | Global firewall settings |
profiles | []windows.firewall.profile | Settings that apply to the per-profile configurations of the Windows Firewall with Advanced Security |
rules | []windows.firewall.rule | Firewall rules |
Examples
Check a specific Windows Firewall rule
windows.firewall.rules.where ( displayName == "File and Printer Sharing (Echo Request - ICMPv4-In)") {
enabled == 1
}