host_firewall
Inspect a host's firewall configuration across UFW, fail2ban, ipset, and iptables to audit rules, banned IPs, and MGMT-PORTS chain access.
Instructions
Firewall detail of a host: ufw status numbered, fail2ban jails with the banned IP lists, ipset blacklists (ufw-blacklist.sh) with entry counts, and the MGMT-PORTS iptables chain.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>"
},
"name": "host_firewall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | host name from the inventory (fleet_hosts) |