Integrate security notifications with Dynatrace to pass security issues and/or attacks to your teams for alerting and remediation purposes.
To integrate security notifications using webhooks, follow the instructions below.
To set up notifications for attacks
Create an alerting profile, which allows you to set up alert-filtering rules that are based on the state of detected attacks.
Link the alerting profile to a security notifications integration using webhooks. You can define the webhook integration and configure the payload (in the form of a message template) that you want to receive with your security notifications.
Go to Settings and select Integration > Security notifications.
Select Add integration and enter the following information.
optional Choose whether you want to accept any SSL certificate.
Select Add HTTP header to specify additional HTTP header fields, such as Content-Type
or Authorization
. These custom HTTP header fields can be used if the target endpoint needs an authentication token within the HTTP header or if you would like to send different content types such as application/json
, application/xml
, text/plain
.
The Content-Type field is required, others are optional.
In the Custom payload field, customize your notification format and content. Once an attack is detected, this customizable payload is pushed through an HTTP POST to the target system. Select the Info icon for a list of Available placeholders that you can use for this integration. Placeholders are automatically replaced with information related to the attack when the notification is generated.
Example message template:
{"text": "Notification for ATTACK *{AttackDisplayId}*. \nTitle: *{Title} - ({Type}) - {State}*\n{AttackUrl}\n* Process group: {ProcessGroupId}, \n* Entry point: {EntryPoint}, \n* Timestamp: {Timestamp}, \n* Vulnerability: {VulnerabilityName}. \n\n *from test system* :dynatrace:"}
Example payload:
From the Alerting profile list, select the alerting profile on which you want to receive security notifications.
optional To verify your configuration, select Send test notification. If your configuration is correct:
Test notification sent successfully
.Save changes.
To verify that your integration is set up correctly