Issue
Using IM360 UI is not possible to move all IPs between firewall lists at one time, only 100 items can be selected.
Environment
- Imunify360
- Any supported OS
- Any supported panel
Solution
Using the following CLI commands possible to do it faster: (--limit directive can be set to any other values, like 1000 or 10000)
imunify360-agent graylist ip list --limit 500 |awk '{ print $1 }' |sed 1d > graylist.txt && < ./graylist.txt xargs imunify360-agent blacklist ip move
Useful links
Comments
0 comments
Please sign in to leave a comment.