TheHive
- 31 Jan 2023
- 1 Minute to read
- DarkLight
TheHive
- Updated on 31 Jan 2023
- 1 Minute to read
- DarkLight
Article Summary
Share feedback
Thanks for sharing your feedback!
Use the TheHive integration to manage cases and create alerts in Torq workflows.
Get an API key from TheHive
- Log into your Hive account.
- Go to My profile > API info.
- Copy the generated API key.
Create a Hive steps integration in Torq
- In Torq, go to Integrations > Steps > TheHive.
- Click Add.
- Give your integration a unique and relevant name.
- Enter your Hive API Key.
Use The Hive steps in Torq
List all cases
- Enter the URL for your Hive environment.
- The step will return a list of all your cases, which will most likely be used as an input parameter for subsequent steps, such as Get a case or Update a case.
Delete a case
- In the Case ID field, enter {{$.list_all_cases.api_object.X._id}}
- Enter your Hive URL.
- The specific case will be deleted.
Search cases
- Enter your Hive URL.
- Click on Manage Parameters.
- Add and fill out the parameters that are important to your search, such as:
- Search Description: Returns cases with this description (must be an exact match).
- Search Severity: Returns cases with this severity level.
- Search Tags: Returns cases with these tags.
Create an alert
- The following are required for this step:
- Alert Desc: Enter a description for the alert.
- Alert Source: Enter where the alert will be coming from.
- Alert Source Ref: A unique value identifying the source.
- Alert Type: What type of event this alert functions for.
- Additionally, you can give the alert a title.
- Enter your Hive URL.
Was this article helpful?