ContraForce integration with HaloPSA

How new incidents open HaloPSA tickets under the right customer through ContraForce webhooks and a runbook you build.

Reviewed by ContraForce team

New incidents in ContraForce, the Agentic Security Delivery Platform, open HaloPSA tickets through webhooks and a HaloPSA Integration Runbook you build, rather than through a prebuilt connector. When an incident is created in a workspace the ContraForce webhook covers, the webhook starts your runbook, and the runbook opens a HaloPSA ticket for that incident. You build and maintain the runbook, so you choose the ticket type, the client and priority mappings, and what each ticket says.

How does ContraForce integrate with HaloPSA?

When an incident is created in a workspace a ContraForce webhook covers, ContraForce sends a signed JSON POST to the public Start URL of a HaloPSA Integration Runbook you build. The runbook reads the request into variables and runs one Halo API Action, Create Ticket. When HaloPSA answers the webhook with a 2xx status, ContraForce records the delivery as Success.

ContraForce eventWhat happens in HaloPSA
incident.created.v1 (Incident Created)The runbook creates a ticket under the client mapped to the incident's workspace, at the priority mapped to its severity
webhook.test.v1 (Webhook Test)The runbook ends at a success step without creating a ticket
Failed deliveryOn a timeout, a connection error, or HTTP 408, 429, 500, 502, 503 or 504, ContraForce makes up to 10 delivery attempts within 5 minutes, each with the same X-CF-Event-Id. Other failures, such as a 401 or 403, are not retried.

With the ticket body from the ContraForce HaloPSA runbook guide, the summary carries the incident number and title, and the details carry the description, the customer's workspace name and ID, the detection source, and a Defender link for Defender-linked incidents only. The incident.created.v1 event carries no classification or verdict field, so the ticket does not carry a Security Delivery Agent's verdict.

Configuration checklist

Governance model

The webhook decides which incidents reach HaloPSA, your runbook decides what HaloPSA does with them, and HaloPSA remains the service-management record. Mapping on workspace ID rather than name keeps a renamed workspace routing to the right client, and the default client catches incidents from workspaces you haven't mapped, including ones you add later, instead of failing.

Proof-of-value test

Send the runbook ContraForce test events before a real incident arrives, then watch the first real ones. Confirm that:

  1. Send test shows Success on the webhook's Events tab, and the run appears in the runbook's Logs with no ticket created.
  2. With the test branch pointed at Create Ticket, a second test opens a test ticket. Point the branch back afterward.
  3. Each covered workspace's first incident opens a ticket under its mapped client and priority. A ticket under the default client shows the Workspace ID to map.
  4. Deliveries pass Basic Authentication. A 401 or 403 usually means the runbook and the webhook hold different credentials. Re-enter them in HaloPSA, then click Update credentials on the webhook.
  5. The runbook answers the webhook within 30 seconds. A run that times out may already have created a ticket, and the retry then creates a duplicate.

The ContraForce HaloPSA runbook guide has every step and a troubleshooting table. HaloPSA documents runbook start access, steps and logs in its custom integrations and runbooks guide.

Frequently asked questions

Can analysts see the HaloPSA ticket from the ContraForce incident?

No. A HaloPSA Integration Runbook you build creates the tickets from ContraForce webhooks, and a HaloPSA ticket cannot be linked to, searched from or shown on a ContraForce incident. In-product ticketing, where an analyst creates, links, searches or unlinks a ticket from the incident, covers Datto Autotask PSA, ServiceNow ITSM and Jira.

Does ContraForce update or close the HaloPSA ticket when the incident changes?

Not in the documented webhook and runbook setup for HaloPSA. There the ContraForce webhook subscribes to Incident Created and Webhook Test only, and the HaloPSA Integration Runbook makes no update, note or close call. Status, notes and closure on the runbook's HaloPSA tickets don't flow back into ContraForce either.

Does the HaloPSA runbook need a ContraForce service account?

No. The documented webhook and runbook setup for HaloPSA has no ContraForce service account or ContraForce API step. The HaloPSA Integration Runbook authenticates each request with Basic Authentication, and every ContraForce webhook delivery is also HMAC-SHA256 signed in the X-CF-Signature header, which the runbook can ignore.

Continue the evaluation

Key sources

Related guides on security tool integrations

Ready to Transform Your Security Operations?

See how ContraForce runs the full delivery loop for service providers. Connect a supported tenant and validate the workflow in your own environment.

Start for free Read the docs

Connect one workspace: scoped Entra ID application consent, no endpoint agents, no log forwarding.