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 event | What 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 delivery | On 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
- In HaloPSA, create the runbook under Configuration > Integrations > Custom Integrations > Integration Runbooks, and allow it to start from a public endpoint.
- Set the runbook's Authentication to Basic Authentication, and leave Initial Webhook Verification off.
- Add runbook-level variables that read the request, and a flow that ends test events at a success step and sends real ones to Create Ticket. Use no ticket variables such as
$TICKETID. - In the runbook's Value Mappings, map each ContraForce workspace ID to its HaloPSA client, with a
*row for a default or triage client. - In the runbook, map High, Medium, Low and Informational to your HaloPSA priority IDs, with a
*catch-all. ContraForce has no Critical severity, so a vendor's Critical arrives as High. - Set Runbook execution mode to Parallel and the runbook's auto-disable threshold to 3 to 5 failures in a row.
- In ContraForce, have an Organization Admin add a webhook with the runbook's Start URL, the same username and password, the Webhook Test and Incident Created events, and the customer workspaces whose incidents should become HaloPSA tickets. A webhook with an empty workspace list covers every workspace you manage, including ones you add later.
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:
- Send test shows Success on the webhook's Events tab, and the run appears in the runbook's Logs with no ticket created.
- With the test branch pointed at Create Ticket, a second test opens a test ticket. Point the branch back afterward.
- 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.
- Deliveries pass Basic Authentication. A
401or403usually means the runbook and the webhook hold different credentials. Re-enter them in HaloPSA, then click Update credentials on the webhook. - 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
- ContraForce integration with Google SecOps, ContraForce connects to Google SecOps through the Chronicle API. Each new case opens as an incident in your queue, where your analysts and Security Delivery Agents work it. Closing or reopening the incident closes or reopens the case, comments and agent verdicts are written to the case, and you can manage the instance's YARA-L rules from ContraForce.
- ContraForce integration with ServiceNow ITSM, How analysts create, link, and update ServiceNow tickets from a ContraForce incident.
- Browse all integrations
- See how the ContraForce platform works
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.
Connect one workspace: scoped Entra ID application consent, no endpoint agents, no log forwarding.