Skip to main content

Cotool + HiBob

Connect HiBob to Cotool so agents add HR context to alerts, and ingest Bob employee events so detections can spot leavers whose accounts stay active.

HR & People
Updated

The short answer

HiBob answers the HR questions behind many alerts: which department and site someone belongs to, who their manager is, whether they have left or are leaving, and whether they were out of office. Cotool also ingests Bob employee events, so joiner, mover, and leaver changes can drive detections.[1][2][6][8][10]

How it connects: Cotool calls Bob's public API as an API service user, sending the service user's ID and token in the authorization header. Service users aren't tied to employees and can't sign in to Bob.[1][5]

What Cotool uses from HiBob

Employee records
People search returns field data for many employees in one call, such as work.department and work.siteId. Terminated and former employees are left out unless showInactive is set.[6]
Work history
The historical entries of an employee's work table. Reading every entry needs View history on the Work category, while View alone returns only the current effective entry.[7]
Who's out
Time off for a given date range, limited to the employees the service user can access.[8]
Employee tasks
The tasks raised for one employee, filterable to open or closed.[9]
Employee webhook events
Events such as employee created, updated, joined, terminated, inactivated, immediate access revocation, and on temporary leave. Each names who triggered it, or system, and when.[10]

Detections, hunts, and triage

Flag leavers who still sign inDetection
With Bob termination and access revocation events in Cotool, a detection compares them with identity sign-ins and alerts on accounts still active after the person left.[2][3][10]
Add HR context to an alertEnrichment
An agent resolves the user on an alert to their Bob record for department, site, and employment status, including people who have already left when showInactive is set.[6]
Check time off before escalatingTriage
For activity at an odd hour or from an unexpected place, an agent reads Bob's who's-out list for those dates, since approved time off can explain it.[8]
Review changes before a departureHunt
In an offboarding review, an agent reads the leaver's work history for recent manager or department changes and lists their open tasks.[4][7][9]

Setup and permissions

A Bob admin creates an API service user on the Service Users page and copies its ID and token, then adds it to a dedicated permission group. New groups have no permissions until you grant them.[5]

PermissionAccess
People's data > People's fields: ViewRead current employee field values, granted per category or per field.[5]Read
People's data > People's fields: View historyRead historical table rows such as Work, Employment, and Lifecycle. Set on the category row only.[5][7]Read
Access data for: select people by conditionRemove the Lifecycle status equals Employed condition so the group also covers inactive and terminated employees.[5]Read
  • Bob signs each webhook request with HMAC SHA512 over the payload, using the secret shown in the webhook configuration, and sends the result in the Bob-Signature header.[10]
  • Webhooks v2 payloads carry identifiers such as employeeId rather than full records. Bob retries a failed delivery for up to 3 days with exponential backoff and deactivates a webhook after 3 consecutive days without a successful delivery.[10]

How Cotool works with HiBob

  • Cotool added managed log ingestion for HiBob in release 0.75.0, alongside Microsoft 365, Snowflake, HubSpot, Nightfall, and Azure VNet flow logs.[2]
  • Cotool detections can run on logs stored in Cotool or call tools directly, and Cotool's own example checks an HR system for terminated workers who are still active in the identity provider.[3]
  • Cotool response agents conduct offboarding reviews among other investigation work.[4]

FAQ

Can the HiBob API return terminated employees?
The HiBob API returns terminated employees when two things are set. People search needs showInactive, since it returns active employees only by default, and the service user's permission group must drop the Lifecycle status equals Employed condition.[5][6]
What does a HiBob webhook v2 event contain?
A HiBob webhook v2 event has a version, an event type, triggeredBy (an employee backend ID or system), triggeredAt, and a data section with identifiers such as employeeId. Full details come from Bob's API.[10]

Sources

  1. Integrations (Cotool) · accessed November 22, 2026
  2. Changelog (Cotool docs) · accessed November 22, 2026
  3. Detections are code (Cotool Detect) · accessed November 22, 2026
  4. Respond to every signal (Cotool Respond) · accessed November 22, 2026
  5. API Service users (HiBob API docs) · accessed November 22, 2026
  6. Search for employees (HiBob API reference) · accessed November 22, 2026
  7. List employee's work history (HiBob API reference) · accessed November 22, 2026
  8. Read a list of who's out of the office (HiBob API reference) · accessed November 22, 2026
  9. Read tasks of a specific employee (HiBob API reference) · accessed November 22, 2026
  10. Getting started with Webhooks (HiBob API reference) · accessed November 22, 2026

Related integrations

All integrations

Use cases with HiBob

Attackers are scaling with tokens

Cotool helps defenders operate at machine speed. See how security teams are scaling Detection & Response.

Book a demo