Setting up integration with notification outputs
Kaspersky Container Security can notify users about events while operating in accordance with the response policy settings. To use the notification feature, you should set up an integration of Kaspersky Container Security with one or more notification outputs.
Kaspersky Container Security can use the following outputs:
- Telegram instant messaging system
Viewing the list of email integrations
To open a list of configured email integrations,
go to the Administration → Integrations → Notifications section and select Email integrations.
You can use the list to do the following:
- Add new email integrations. Click the Add button located above the list to open the integration settings window.
- View and change email integration settings — you can open the editing window by clicking the integration name link.
- Search for an email integration — to perform this search, enter the integration name in the Search field.
- Delete email integration.
Adding email integrations
To add an email integration:
- Do one of the following:
- Under Administration → Integrations → Notification, in the Email integration section, click the Add new button.
- In the Administration → Integrations → Notifications section, select Email integrations. In the window that opens, click the Add button located above the table.
The integration settings window opens.
- Specify the following information in the form:
- Name of the integration — displayed in the response policy settings.
- User name and password of the account used to send messages.
- SMTP server name.
- E-mail encryption method.
- Port that the SMTP server uses.
- Email address of message sender.
- Email addresses of message recipients. You can enter one or more addresses in this field.
- Click the Save button in the top of the window to save the email integration settings.
Example email integration settings
You can use the configured integration in response policies.
Page topViewing information about email integration
To view and change an email integration:
- In the Email integrations section under Administration → Integrations → Notifications, click the integration name link in the list of integrations.
- In the editing window that opens, change the following integration settings if necessary:
- Name.
- User name.
- Password of the user account that is used to send messages.
- SMTP server name.
- E-mail encryption method.
- Port that the SMTP server uses.
- Email address of the message sender.
- Email addresses of message recipients.
- Click Save.
Viewing list of Telegram integrations
Integration with Telegram allows you to configure messaging in the chat with the Telegram bot.
To open the list of the configured Telegram integrations, go to the Administration → Integrations → Notifications section, and select Telegram integrations.
You can use the list to do the following:
- Add new Telegram integrations. Click the Add button located above the list to open the integration settings window.
- View and change Telegram integration settings — you can open the editing window by clicking the integration name link.
- Delete integration with Telegram.
Adding Telegram integrations
To add a Telegram integration:
- Do one of the following:
- Under Administration → Integrations → Notifications, in the Telegram integration section, click the Add new button.
- In the Administration → Integrations → Notifications section, select Telegram integrations. In the window that opens, click the Add button located above the table.
The integration settings window opens.
- Specify the following information in the form:
- Name of the integration — it is displayed in the response policy settings.
- ID of the chat to post the messages — you can get the ID in the following way:
- Write the first message to the message bot. The chat ID is generated the first time a message is sent.
- In the address bar of your browser, type:
https://api.telegram.org/bot
<token>
/getUpdates
where <token> is the token of the message bot.
- In the received .json response file, find the "ID" value in the "chat" object. This is the chat ID.
After changing the message history visibility settings for new participants in a Telegram chat, the chat ID is also changed. In this case, you must change the Telegram integration settings and specify the new value for the chat ID.
- Token of the message bot — you receive this token as a result of executing the
/newbot
command in the BotFather bot to create a bot. You can also get the token of a previously created bot by running the/token
command.
- Click the Save button in the top of the window to save the Telegram integration settings.
Example Telegram integration settings
You can use the configured integration in response policies.
Page topViewing and editing information about Telegram integration
To view and change a Telegram integration:
- In the Telegram integrations section under Administration → Integrations → Notifications, click the integration name link in the list of integrations.
- In the opened editing window, change the following integration settings if necessary:
- Name.
- Chat ID.
- Bot token.
- Click Save.
Deleting integrations with notification outputs
To delete email integration or Telegram integration:
- Open the list of the configured email integrations or Telegram integrations.
- In the line containing the name of the integration that you want to delete, click the delete icon (
).
- In the window that opens, confirm the deletion.
You cannot delete an integration that is used in one or more response policies.
Page top