Issue
Options `add`/`delete`/`edit`/`list`/`move` and more for the `imunify360-agent whitelist ip list` command return the following warning even when no value is used:
!! Deprecated cli call, use `ip-list` command instead. !!
Examples:
[root@eserver ~]# imunify360-agent whitelist ip add
!! Deprecated cli call, use `ip-list` command instead. !!
OK
[root@server ~]# imunify360-agent whitelist ip edit
!! Deprecated cli call, use `ip-list` command instead. !!
OK
[root@server ~]# imunify360-agent whitelist ip move
!! Deprecated cli call, use `ip-list` command instead. !!
OK
[root@server ~]# imunify360-agent whitelist ip delete
!! Deprecated cli call, use `ip-list` command instead. !!
OK
Environment
- Imunify360 CLI
- Firewall
Solution
The whitelist/blacklist command is phased out. The documentation about the new CLI command for managing firewall lists and its usage can be found here: IP-List.
- An example of new command:
imunify360-agent ip-list local list --purpose white
- For whitelisting an IP address:
imunify360-agent ip-list local add --purpose white 1.2.3.4
- For blacklisting one:
imunify360-agent ip-list local add --purpose drop 1.2.3.4
Comments
0 comments
Article is closed for comments.