Integrate Spike with Uptycs
Send Uptycs alerts to Spike through a webhook destination so a security alert pages your on-call rotation by phone, SMS, Slack or Teams.
Uptycs is a security analytics platform that watches your hosts, containers and cloud accounts and raises an alert when one of its rules matches. Uptycs can deliver those alerts to an HTTP destination. Point that destination at a Spike integration URL and an Uptycs alert pages your on-call rotation the moment Uptycs raises it.
What Spike does with each alert
Every delivery is one Uptycs alert, and it carries a status.
status
What Spike does
open, new or assigned (any casing), or no status at all
Opens an incident and pages. A repeat of the same alert (same id) is added to the incident that is already open instead of paging again.
resolved, closed or any other value
Never opens or reopens an incident. It is added to the matching open incident when there is one, and dropped otherwise.
Incident identity
Spike identifies the incident by the alert id. Uptycs gives each alert its own id, so one alert is one incident, and the same alert delivered again joins the open incident. Two different alerts on the same host are two incidents.
If a delivery has no usable id (missing, empty, or a template variable that did not render, such as {{id}}), Spike falls back to matching the incident by its exact title. The title is built the same way with or without an id, so such a delivery still joins the incident it opened.
Incident title
The title is Uptycs' own sentence about what is wrong (the alert rule's description), then how bad it is, then where:
Outbound connection to known malicious IP 185.220.101.4 from process /tmp/kworkerd (high) on prod-api-07When
descriptionis empty, the alertcodeis used as sent, for exampleOUTBOUND_CONNECTION_TO_THREAT_IOC (high) on prod-api-07.(severity)andon hostare left out whenseverityorassetHostNameis empty. With a host but no description or code, the title starts withUptycs alert, for exampleUptycs alert (high) on prod-api-07.A body with no description, code or host is titled
Uptycs alert with no details.The
statusnever changes the title: a closed alert keeps the title it opened with.Titles are capped at 200 characters by shortening the description, keeping the host whole. The alert id, asset id, value, link and time are not in the title; they are on the incident page.
Use a Title Remapper if your team reads alerts by rule code rather than by sentence:
Severity
Spike reads the severity field for the incident's severity badge, with no setup: critical and high become SEV1, medium SEV2 and low SEV3. Write an alert rule on severity to route an alert to another service or escalation policy, or to suppress it. Read more about priority and severity.
Prerequisites
An Uptycs account that is allowed to create destinations and alert rules
An Uptycs integration in Spike and its webhook URL
Nothing to open on your network. Uptycs calls out to Spike
Step 1 — Create the integration in Spike
In Spike, go to Integrations → Add integration → Uptycs, attach it to a service and an escalation policy, and copy the webhook URL. It looks like https://hooks.spike.sh/<your-token>/push-events.
Step 2 — Add a webhook destination in Uptycs
Sign in to your Uptycs console and open Configuration → Destinations.
Select Add Destination and choose the Webhook (HTTP) type.
Give the destination a name your team will recognise, for example
Spike.Set the destination URL to the webhook URL from Step 1, and the method to
POSTwith aContent-Typeofapplication/json.In the destination's Template (the request body), paste the body shown below, then save.
Send exactly this JSON body. Replace each value with the matching variable from the Uptycs template editor:
id
Alert ID
Yes
Joins repeats to the open incident
description
Alert rule description
Yes
The title
code
Alert code
Recommended
Title when description is empty
severity
Severity (low, medium, high, critical)
Recommended
The title and the severity badge
assetHostName
Asset host name
Recommended
The title, always last
status
Alert status
Recommended
Only open, new, assigned or no status opens an incident
grouping
Alert grouping
No
Shown on the incident
key
Alert key
No
Shown on the incident
value
Alert value
No
Shown on the incident
alertTime
Time the alert was raised
No
Shown on the incident
assetId
Asset ID
No
Shown on the incident
url
Link to the alert in the Uptycs console
No
Shown on the incident
Step 3 — Send alerts to the destination
A destination receives nothing until an alert rule points at it.
Open Configuration → Alert Rules and open the rule you want paged, or create one.
Under the rule's destinations or notifications, add the
Spikedestination.Save the rule.
Start with the rules for your high and critical alerts. Every alert from a rule that points at the destination becomes a Spike incident, so keep low-value rules off it.
Step 4 — Confirm it end to end
Trigger an alert from a rule you attached, or use the destination's test option if your console has one. An incident should open in Spike on the service you attached, titled with the Uptycs sentence, and escalate through your policy. Open the incident page and check that id and assetHostName are filled in; an empty field means the template variable did not render.
Things worth knowing
Several Spike integrations are fine. Create one Spike integration and one Uptycs destination per team and point each team's alert rules at its own destination.
Resolving in Spike does not touch Uptycs. The alert stays as it is in the Uptycs console.
Only single alerts are covered. Uptycs detections forwarded through detection forwarding rules have a different shape and are not part of this integration.
Spike keeps the whole body on the incident, so every field is available to alert rules and the Title Remapper as
data.body.<field>.
Troubleshooting
Disclaimer: These integration instructions are offered independently by Spike.sh, and Spike.sh is not affiliated with nor a partner of Uptycs, Inc.
Last updated

