Integrations
Start a Duaer workflow with TheHive 5 Trigger
In Duaer, TheHive 5 Trigger starts a workflow when a request reaches its URL. It can listen for 20 events, such as Alert Created, Alert Deleted, Alert Updated, and 17 more.
Start a Duaer workflow with TheHive 5 Trigger
- On the Duaer canvas, open the node panel, search for TheHive 5 Trigger, and add it as the first node.
- Pick the events that should start a run, for example Alert Created or Alert Deleted.
- Check Filters on the node.
- If needed, select Add Option for the optional settings listed below.
- Select Execute step and send a test request to the node's Test URL. Publish the workflow so its Production URL starts a run for every request.
Events that start a Duaer workflow with TheHive 5 Trigger
Alert Created, Alert Deleted, Alert Updated, Case Created, Case Deleted, Case Updated, Comment Created, Comment Deleted, Comment Updated, Observable Created, Observable Deleted, Observable Updated, Page Created, Page Deleted, Page Updated, Task Created, Task Updated, Task Log Created, Task Log Deleted, Task Log Updated.
TheHive 5 Trigger parameters in Duaer
- Filters: Filter any incoming events based on their fields.
TheHive 5 Trigger options in Duaer
Under Add Option, TheHive 5 Trigger offers Output Only Data.
Configure a webhook in TheHive
- Copy the test and production URLs from the Duaer node.
- Add this to application.conf, the TheHive configuration file:
notification.webhook.endpoints = [
{ name: DUAER_TEST, url: "<test URL>", version: 1, wsConfig: {}, includedTheHiveOrganisations: ["<organization>"], excludedTheHiveOrganisations: [] },
{ name: DUAER_PROD, url: "<production URL>", version: 1, wsConfig: {}, includedTheHiveOrganisations: ["<organization>"], excludedTheHiveOrganisations: [] }
]Restart TheHive, then turn on notifications for the organization through the TheHive API:
curl -XPUT -u<username>:<password> -H 'Content-type: application/json' <TheHive URL>/api/config/organisation/notification -d '{"value":[{"delegate":false,"trigger":{"name":"AnyEvent"},"notifier":{"name":"webhook","endpoint":"DUAER_TEST"}},{"delegate":false,"trigger":{"name":"AnyEvent"},"notifier":{"name":"webhook","endpoint":"DUAER_PROD"}}]}'
Choose the events to handle under Events in the node.
Questions
Which TheHive 5 Trigger events can start a Duaer workflow?
Duaer's TheHive 5 Trigger can listen for 20 events, including Alert Created, Alert Deleted, Alert Updated, Case Created, Case Deleted, and 15 more. Pick one or more on the node.
Does TheHive 5 Trigger run before the Duaer workflow is published?
Only the Test URL works while you test with Execute step. The Production URL starts runs after you publish the Duaer workflow.
In this section
Built-in integrations in Duaer
Built-in triggers, actions, and credentials in Duaer. Triggers start a workflow. Actions run a step after it has started.
IntegrationsRisks of community nodes in Duaer
Before you install a community node in Duaer, know the code comes from a source the instance admin trusts, and know what permissions it gets.
IntegrationsTroubleshoot community nodes in Duaer
When a Duaer community node will not install or run, check the version, permissions, and node docs, then the instance logs.
IntegrationsMake custom API calls for an app in Duaer
When a Duaer app node does not expose the API you need, use HTTP Request and reuse that app’s saved authentication.
IntegrationsIntegrations in Duaer
Built-in triggers, actions, and credentials in Duaer. Community nodes are extra packages. Custom operations reuse saved authentication with HTTP Request.
CredentialsBuilt-in credentials in Duaer
Per-service credential notes for Duaer built-ins. The create flow is in the credentials overview; node docs link to the matching service page.
Create nodesCreate a custom node for Duaer
Write a node package for Duaer when built-in nodes and custom operations are not enough and you will reuse the step.