Set up notifications
Set up notifications first so that Secure Application can notify your team as soon as instrumented applications start reporting vulnerabilities or attacks.
Notifications allow third-party platforms to ingest information through webhooks. Currently, Secure Application only supports HTTP-based notifications.
- Create a notification rule
-
-
Select .
-
Specify settings for the new rule:
-
Rule name: Name of the rule.
-
Rule for: Select Vulnerability or Attack.
-
For a vulnerability rule, select one or more conditions to trigger notifications. Select any combination of Critical, High, Medium, and Low, and Only when the CVE is reached at runtime. Critical and High are selected by default for new rules. Existing rules retain Critical and High as their selected conditions. Select at least one condition. The condition Only when the CVE is reached at runtime is additive to other trigger conditions you select. It applies as AND, not OR. For example, if you select Critical, High, and Only when the CVE is reached at runtime, you will only get vulnerabilities that are ((Critical OR High) AND reached). You won't get notifications for vulnerabilities that are Critical or High but unreached.
If a vulnerability matches more than one selected condition, Secure Application sends one notification.
-
URL: Endpoint to deliver the notification to.
-
Bearer token:
- To send notifications to Splunk Cloud or Splunk Platform
-
-
Generate an HTTP Event Collector (HEC) token that allows access to your account. To learn more, see Set up and use HTTP Event Collector in Splunk Web.
-
Paste the HEC token you generated into the Bearer token field. Example:
Splunk hec-token.
-
- To send notifications to other platforms
-
Enter the
Authorization: Bearerheader value (token) for your webhook URL auth.
- Environment: List of allowed environments as a filter. Optional.
- Service: List of allowed services as a filter. Optional.
-
- Select Activate.
-
- Test a notification rule
-
To test a rule's notification endpoint first activate it and then reopen it:
-
Select and select the rule you want to test.
-
Select Send test notification.
The test uses the URL and optional bearer token in the rule and sends a representative payload for the selected rule type. The test does not activate the rule or create a vulnerability or attack finding.
-
- Interpret the JSON payload of a notification rule
-
For details on the JSON payload of a notification see How notifications work.