To configure KUMA integration with Kaspersky Managed Detection and Response:
sudo tar -xf kuma_mdr_integration.tar.gz -C /opt
General settings section, specify the following settings:client_id (client ID)Modules settings → kuma section, specify the following settings:api_url is the address of the KUMA API.username is the name of the user with access to the API that you added earlier.password is password of the added user.tenantId is ID of the tenant to which incidents will be imported.Modules settings → logging section, specify the current path to the directory where the script is stored (by default, /opt/mdr/log).\n because this may result in an authentication error. To check, you can run the following commands:# Check for a newline character
wc -l /opt/mdr/conf/.refresh_token
# If the output is "1 .refresh_token", delete the character
perl -p -i -e 'chomp if eof' /opt/mdr/conf/.refresh_token
# Check again
wc -l /opt/mdr/conf/.refresh_token
# The expected output is "0 .refresh_token"
To check whether the configuration is correct, we recommend specifying a time before the last incident occurred (for example, 1672520400000).
python3 ./main.py command:You can find the script log in the /opt/mdr/log/app.log directory.
Make sure that incidents created in the MDR Console, starting from the time that you specified in the .last_check file, have been imported into KUMA.
nohup python3 /opt/mdr/main.py &
sudo crontab -e
@reboot sleep 300 && python3 /opt/mdr/main.py &
A delay of 5 minutes (sleep 300) is necessary to start the kuma-core service before starting the integration script.
Integration of KUMA with Kaspersky Managed Detection and Response is now configured. From now on, incidents from the MDR Console will be automatically imported into KUMA for processing and analysis.
Page top