Manually add or remove IP address from IP Intelligence blacklist category

Hello,

I’d like to know if it is possible to use a CLI command to add (or remove) an IP address to (from) an IPI

category blacklist. I need to do this from a bash shell script…

I know it is possible using the GUI: “Security >> Network Firewall : IP Intelligence : Black List Categories”, then select the blacklist category and click “Add to Category” or “Remove from Category”. I cannot find the CLI equivalent in the documentation/ASkF5/DevCentral…

-Frank

Unfortunately there is no equivalent for TMOS (TMSH) to add/remove an IP.

There appears to be iControl/REST API to accomplish this task but despite my best efforts I cannot update the endpoint as expected, https://clouddocs.f5.com/api/icontrol-rest/APIRef_tm_security_ip-intelligence_category.html.

I did give it another try, and have not been able to get the REST API doing this either.

Thanks for your answer. Perhaps this will be added in a future TMOS release?

Old question, im aware, but if someone turns up here it is good to know there is now a tmsh command for this:

IP-Intelligence and IP-Shunning | DevCentral

example:

$ tmsh run security ip-intelligence category name denial_of_service ip-ttl add { 123.123.123.123,300 }