ValystrumHelp
Sign in

Send events to your own endpoint with webhooks

Plans
Every plan
Where
Settings
Updated

A webhook sends the events you choose (a new finding, a failed control, an incident opened, and many more) to your own HTTPS endpoint as JSON, each signed with a secret you set. Owners and admins manage webhooks under Settings, Webhooks.

Before you start

  • You need the owner or admin role.
  • Have an endpoint on the public internet that answers 2xx over HTTPS. Valystrum never delivers to private, loopback or cloud-metadata addresses.
  • Make up a signing secret of 32 characters or more and keep a copy: Valystrum stores it encrypted and never shows it again. Your endpoint uses it to check each delivery.

Add an endpoint

  1. Open Settings and choose Webhooks. With nothing set up, the page reads "No webhook endpoint is set."
  2. Press Add an endpoint. The form opens with the cursor in the first field.
  3. Fill in all four fields:

    • Label: a name for the endpoint, such as "SOC intake".
    • Endpoint address: the full address, starting with https://.
    • Signing secret: 32 characters or more.
    • Events: * for every event, or event names separated by commas, such as finding.created, control.failed.
  4. Press Add an endpoint in the form.

The endpoint is listed by its label, with its host, its events and when it was added. The headline changes to "1 webhook endpoint receives your events."

What the form checks

You enterValystrum answers
An empty field, or only spaces"Label is required." or "Endpoint address is required." (the field's name), before anything is sent
An address that does not start with https://"url must start with https://"
A secret shorter than 32 characters"secret must be at least 32 characters"
An event name Valystrum does not know, or a value that is far too long"Validation failed"

If you see "Validation failed", check each event name against the list below (a misspelt name is refused rather than stored) and keep the label under 500 characters.

To close the form without saving, press Cancel. Escape closes it too, unless you have typed something: then the form stays open, and Cancel discards what you typed.

Choose events

* sends every event. To be selective, name the events. Some common ones:

EventSent when
finding.createdA finding is recorded.
finding.resolvedA finding is resolved.
control.failedA control fails its check.
incident.openedAn incident is opened.
remediation.sla_breachedA remediation item passes its deadline.
risk.createdA risk is registered.
vendor.risk_detectedA supplier risk is detected.

Event names follow the pattern module.what_happened, all in lower case. When you are not sure of a name, start with * and read the X-Valystrum-Event header of the deliveries you receive.

Remove an endpoint

Press Remove on its row. The row asks first: "Remove SOC intake? Its deliveries stop and its delivery history goes with it." Press Yes, remove to confirm, or Keep.

The address, events and secret cannot be edited. To change any of them, remove the endpoint and add it again.