Ideco NGFW is a solution that acts as a filter for the internet traffic in corporate and private networks. It allows you to block IP addresses and URLs detected by Kaspersky Next XDR Expert, if you previously configured integration between Kaspersky Next XDR Expert and the script launch service.
Ideco NGFW version 16.0 or later is supported.
The login and password to access Ideco NGFW are stored in the script for integration with Ideco NGFW. You can download the script by clicking the following link:
To use the script:
pip install -r requirements.txt
pip install ./dist/kaspersky_xdr_ideco_integration-<version>-py3-none-any.whl
If you do not have internet access, you must install the script offline. In this case, do the following:
pip download -r requirements.txt
pip install --no-index --find-links <folder_path_to_downloaded_dependencies> -r requirements.txt
cp .env.sample .env
nano .env
BASE_URL: str = getenv("BASE_URL", "https://your-ip:your-port")
LOGIN: str = getenv("LOGIN", "your-login")
PASSWORD: str = getenv("PASSWORD", "your-password")
IP_DENY_LIMIT: int = int(getenv("IP_DENY_LIMIT", 1000))
To add a firewall rule that will block IP addresses:
By default, the maximum number of IP addresses is 1000. You can edit this value, as described at step 2 Configure the script.
You must add valid IPv4 addresses, separated with commas and without spaces, for example:
python ideco.py add_firewall_rule --ip_address "12.12.12.12, 13.13.13.13"
The deny rule for the selected IPv4 addresses is added, for example:

To add a filtering rule that will block malicious URLs:
The URLs must be separated with commas, and have http:// or https:// prefixes, for example:
python ideco.py add_content_filter_rule --url "https://url_1.com, http://url_2.com.uk, http://qwerty.nl, http://zxc.xc"
The deny rule for the specified URLs is added, for example:
