TRUSTIVAN posts to Slack through a Slack incoming webhook. It is not a Slack app: there is no slash command, no buttons, and nothing in Slack can change a finding. Each message is plain text with a link back to the asset in TRUSTIVAN. There are two ways to set it up, and they can run side by side:

Prerequisites

  • A Slack incoming webhook URL. In Slack, create an app for your workspace (or open an existing one), turn on Incoming Webhooks, choose Add New Webhook to Workspace and pick the channel. The URL starts with https://. It is the credential: anyone holding it can post to that channel.
  • An administrator of the TRUSTIVAN organization, signed in. Changing notifications needs webhooks:manage, which an API key cannot hold.
  • For a destination, a plan that includes webhooks.

The quick way: Settings → Notifications

1

Paste the URL

Settings → Notifications, then paste the incoming webhook URL. It is stored encrypted and never shown again.
2

Choose the events

Choose which alerts post to Slack. A scan is announced only when it found new critical or high findings, and a verdict only when it blocks a deployment.

The flexible way: a destination

Use a destination when you want finding status changes, NHI Security events, a severity floor, or a second channel. Sign in with curl first so cookies.txt holds the session (see the quickstart).
The webhook URL goes in secret, not url, so it is stored encrypted. A Slack destination takes no config; sending any is a 400. The URL must be https://. Send a test message, then read whether it arrived:

What it posts

  • Plain text. <, > and & in a finding title or an asset name are escaped, so a title containing <!channel> cannot notify a whole channel.
  • One message per event. Slack keeps no record that TRUSTIVAN can update, so a finding that is later resolved is a second message, not an edit of the first.
  • A verdict has no severity, so a min_severity filter never holds back a blocking verdict.

Troubleshooting

See also