Do you have a need to create a custom alert action in Splunk, but you don't have the developer bandwidth or experience? Are you tired of maintaining a large code base of custom development, and worrying whether or not your code is secure?
Look no further, Dataflect can solve all these problems and more.
In this post we will show you how easy it is to create a Splunk custom alert action using Dataflect.
This example will be an extension of the previous post that shows how to Create an Azure Sentinel Incident from Splunk. We'll take the example, but convert it into a Splunk custom alert action.
Register an Application in Azure AD
Navigate to the Azure portal.
Go to Azure Active Directory > App registrations > New registration.
Enter a name for the application, select the supported account types, and provide a Redirect URI (if necessary).
After registration, note down the Application (client) ID.
Create a Client Secret
Under your application registration, navigate to Certificates & secrets.
Click New client secret, give it a description and an expiration period.
Once created, copy the Value of the client secret (it won’t be visible again).
Assign Role to the Application
Go to your Storage Account in the Azure portal.
Under Access control (IAM), click Add > Add role assignment.
Choose a role that provides read/write access to Azure Sentinel.
In the Select field, type the name of the application you registered and select it.
Click Save to assign the role to the application.
Add management.azure.com as an Allowed Domain in Dataflect
Create a credential in Dataflect with your App Registration details
Navigate to the "Action Builder" within Dataflect
Fill out the form with the information relevant to your Azure Environment, in the example below we've included tokens in the Data payload so that we can populate this in the alert action. Click Submit:
At the top of the page, expand the "Create Custom Alert Action" section. Now we're going to replace some of the data parameters with tokens, so that when an event is passed through the alert action it will be populated with the event specifics. Give your alert action a unique name, and click "Create":
Now let's create an alert that uses our alert action. We defined the tokens result.title, result.description, and result.severity, so we'll need to make sure these are included in any events that are sent through the alert action.
The search runs, the trigger conditions are met, and an incident is created in Azure Sentinel:
This is just one example, the possibilities are virtually limitless. To see the many ways Dataflect can work for you contact us at sales@dataflect.com for a demo today!
コメント