Use webhooks to further automate your security posture
Some events in vRx generate a webhook post request. These webhooks can be "posted" to any platform that can receive webhooks. These platforms can then be used to perform other actions, such as, sending emails, creating tickets, or even performing other tasks in vRx via the API.
Use Cases
- Email notifications
- Slack notifications
Automation Platforms (Suggestions)
This list is not exhaustive. If you already have a platform that accepts webhooks it will most likely work with vRx.
Webhooks
Webhooks are used as the triggering event for automation workflows.
Configuring webhooks in vRx:
- Open your automation platform - Create a webhook node - Copy the webhook URL.
- At your vRx dashboard, navigate to Settings -> Integrations -> select the "webhook" tag to add new Webhook integration.
- In the new webhook integration, configure the following:
- Display name of the webhook.
- Paste the webhook URL.
- Select "Setup Integration".
- Select "Send Test Event" to test your integration.
-
Webhook Integration Examples
n8n
Templates:
Azure Logic Apps
Templates:
Zapier
Templates:
Manual configuration:
- Navigate to Zapier and sign in
- Create a new Zap
- Trigger
- App event - Webhook
- Event - Catch Raw Webhook
- Test trigger
- Configure the webhook integration with the provided webhook url
- Send a test Event and confirm it is received by Zapier
- Perform the action in vRx you wish to be the triggering event. As an example, If you wish to trigger the Zap when a new vulnerability is identified the test event will work. If you wish to receive email notifications based on failed tasks, Run a task (patch an asset). This will generate the corresponding webhook.
- In this example we will use tasks in a failed status.
- Once A patch has started in vRx, select the dropdown box under "We Found a request" to sort through the different posts requests that have been sent to Zapier.
- Locate the request that starts with "taskEndpointsEventEndpoint" then click continue
- Action:
- App - Filter by Zapier, then click continue
- Under Filter setup and testing select fill out the Only continue if section as follows
- Task Endpoints Event Organization Endpoint Patch Patch Packages organization Endpoint Patch Patch Packages Action Status action Status Name
- (Text) Exactly matches
- Failed
- Repeat these steps for any other parameters you want to add.
- Click continue
- Action:
- App - Email by Zapier
- Event Send Outbound Email
- Set up Action
- Fill out the required information
- You can use data from the webhook to populate parts of the email subject and body.
- Suggested information
- Asset Name - "task Endpoints Event Endpoint endpoint name"
- Action Status - "task endpoints event organization endpoint patch patch packages organization endpoint patch patch packages action status action status name"
- Message - "task endpoints event organization endpoint patch patch packages organization endpoint patch patch packages status message"
- Patch - "task endpoints event organization endpoint patch patch packages organization endpoint patch patch packages patch patch name"
- Patch Description - "task endpoints event organization endpoint patch patch packages organization endpoint patch patch packages patch patch description"