Integrations
Start a Duaer workflow with TheHive Trigger
In Duaer, TheHive Trigger starts a workflow when a request reaches its URL. It can listen for 14 events, such as Alert Created, Alert Deleted, Alert Updated, and 11 more.
Start a Duaer workflow with TheHive Trigger
- On the Duaer canvas, open the node panel, search for TheHive Trigger, and add it as the first node.
- Pick the events that should start a run, for example Alert Created or Alert Deleted.
- 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 Trigger
- Alert Created: Triggered when an alert is created.
- Alert Deleted: Triggered when an alert is deleted.
- Alert Updated: Triggered when an alert is updated.
- Case Created: Triggered when a case is created.
- Case Deleted: Triggered when a case is deleted.
- Case Updated: Triggered when a case is updated.
- Log Created: Triggered when a task log is created.
- Log Deleted: Triggered when a task log is deleted.
- Log Updated: Triggered when a task log is updated.
- Observable Created: Triggered when an observable is created.
- Observable Deleted: Triggered when an observable is deleted.
- Observable Updated: Triggered when an observable is updated.
- Task Created: Triggered when a task is created.
- Task Updated: Triggered when a task is updated.
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: 0, wsConfig: {}, includedTheHiveOrganisations: ["<organization>"], excludedTheHiveOrganisations: [] },
{ name: DUAER_PROD, url: "<production URL>", version: 0, 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 Trigger events can start a Duaer workflow?
Duaer's TheHive Trigger can listen for 14 events, including Alert Created, Alert Deleted, Alert Updated, Case Created, Case Deleted, and 9 more. Pick one or more on the node.
Does TheHive 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.