{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "ssh root@prod.karlkratz.com \"echo '=== f2b-table sets ===' && nft list sets inet f2b-table 2>\/dev\/null | grep 'set ' && echo '' && echo '=== ipset f2b-sshd ===' && ipset list f2b-sshd 2>\/dev\/null | head -10 && echo '' && echo '=== ipset f2b-sshd-aggressive ===' && ipset list f2b-sshd-aggressive 2>\/dev\/null | head -10 && echo '' && echo '=== f2b-table chain ===' && nft list chains inet f2b-table 2>\/dev\/null\" 2>&1",
"timeout": 15000,
"description": "Detail fail2ban nftables and ipset structure"
}
}