Skip to main content
Connect a Cyberhaven tenant to read incidents, endpoint status, issues, audit logs, event details, and event lineage from workflows.
  1. In Cyberhaven, open Preferences and select API token management. Use a refresh token with the permissions your workflows need. The incident access check requires permission to read incidents.
  2. In Serval, select Cyberhaven in Integrations and create a connection.
  3. Enter the tenant name from your Cyberhaven URL. For example.cyberhaven.io, enter example.
  4. Paste the refresh token and save the connection.
Workflows use the connection’s Cyberhaven API request action. Serval reuses the connection’s 15-minute access token for up to 14 minutes. The next request after that window automatically gets a new access token. When the underlying refresh token expires or is revoked, update the connection with a replacement from Cyberhaven.

Monitor the connection and replace a token

Turn on Health Alerts in the Cyberhaven connection settings and keep Test Cyberhaven incident access enabled. Serval runs the check daily, including when workflows are idle. After a failed check, the Cyberhaven card on Integrations shows a warning. Open the warning to see the result on the API Integration tab. You can also run the check manually. If Cyberhaven rejects the refresh token, verify the tenant name. For an expired or revoked token, generate a replacement in Cyberhaven, reconnect the existing connection in Serval, and rerun the check. A successful check clears its warning. Other failures, such as missing incident-read permission, have their own cause. This is an in-app warning after a failed check. The exchange supplies no expiry date for the long-lived token, so Serval cannot give an advance expiry reminder.