wget https://raw.githubusercontent.com/SecAegis/SecAutoBan/main/device/alarm/threatbook_hfish/threatbook_hfish.pypip3 install SecAutoBan requests进入平台管理-系统配置-API配置页面,复制api_key
server_ip=127.0.0.1 server_port=80 sk=sk-xxx hfish_url=https://xxx.xxx.xxx.xxx:4433 hfish_api_key=xxx hfish_refresh_time=30 python3 threatbook_hfish.py| 变量名 | 样例 | 描述 |
|---|---|---|
| server_ip | 127.0.0.1 | 平台IP |
| server_port | 80 | 平台端口 |
| sk | sk-xxx | 连接密钥 |
| hfish_url | https://xxx.xxx.xxx.xxx:4433 | hfish url |
| hfish_api_key | xxx | hfish api key |
| hfish_refresh_time | 30 | hfish 轮询时间(秒) |
