Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Spike does not resolve an incident when an Uptycs alert closes. Uptycs sends no recovery, so resolve the incident in Spike when the work is done, or set a resolve timer as a backstop.

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-07
  • When description is empty, the alert code is used as sent, for example OUTBOUND_CONNECTION_TO_THREAT_IOC (high) on prod-api-07.

  • (severity) and on host are left out when severity or assetHostName is empty. With a host but no description or code, the title starts with Uptycs alert, for example Uptycs alert (high) on prod-api-07.

  • A body with no description, code or host is titled Uptycs alert with no details.

  • The status never 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.

Create integration and service on our dashboard

Step 2 — Add a webhook destination in Uptycs

  1. Sign in to your Uptycs console and open Configuration → Destinations.

  2. Select Add Destination and choose the Webhook (HTTP) type.

  3. Give the destination a name your team will recognise, for example Spike.

  4. Set the destination URL to the webhook URL from Step 1, and the method to POST with a Content-Type of application/json.

  5. 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:

Field
Uptycs alert field
Required
Used for

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.

  1. Open Configuration → Alert Rules and open the rule you want paged, or create one.

  2. Under the rule's destinations or notifications, add the Spike destination.

  3. 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

Nothing arrives in Spike

Check that the destination URL is the full https://hooks.spike.sh/<your-token>/push-events, that the integration is not archived in Spike, and that at least one alert rule points at the destination.

The title is "Uptycs alert with no details" or the host is missing

The template variables did not render, so Spike received empty fields. Open the incident page, look at the body, and fix the variable for each empty field in the Uptycs template.

Every repeat opens its own incident

Compare id on two of the incidents. If it differs, Uptycs gave each notification a new id and Spike treats them as separate alerts. If id is empty, Spike matches on the exact title instead, so check that the template fills id.

A closed or resolved alert did not open an incident

Expected. Only a status of open, new or assigned, or no status at all, opens an incident. A closed or resolved delivery never opens or reopens one.

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