TRUSTIVAN has four integration surfaces, and it is worth being plain about the size of that list: a security tool that is vague about its boundary is worse than one with a narrow boundary. A pipeline gate is built out of the first. A chat message, a ticket or a pager alert is the third, and you do not have to write the receiver. The fourth is the first again, for an assistant: it calls the same API and can do nothing its key cannot.

curl, or the gate

The CI story is curl, or any HTTP client, against a scoped API key. Every example in these docs is a shell command you can paste, and nothing needs to be installed for it to work. A single-endpoint HTTP call with a bearer token works in every CI system, every language and every container, and it does not become a supply-chain dependency of the pipeline whose supply chain you are trying to secure. If you would rather not write the poll-and-verdict loop yourself, trustivan gate is that loop as one binary. It distinguishes “the policy blocked this” (exit 1) from “TRUSTIVAN could not answer” (exit 2), which is the part hand-written scripts most often get wrong. It calls the same API and adds nothing the API cannot do.

The machine API

Base path /api/v1, Authorization: Bearer twk_…. A machine principal has no role. Its authority is exactly the set of scopes its credential was granted. That is what makes least privilege expressible: a pipeline key holding scans:create, scans:read and verdicts:request can gate a build and cannot silence the findings that failed it, because findings:suppress is a separate scope and was not granted. Three scopes are not grantable to a key at all: policies:manage, webhooks:manage and apikeys:manage. Each closes a loop that would otherwise make the surrounding control meaningless: a build that can rewrite the policy it is judged by, a credential that can add a destination every future event is copied to, or one that can mint its own successor. The practical consequence is a division of labour. A human configures policies, webhook endpoints and credentials, from the dashboard or a browser session. A pipeline consumes them.
  • API overview: conventions, credentials and the contract.
  • Scopes: the full grantable set.
  • CI pipelines: the recipe, and it as GitHub Actions and GitLab CI.

Webhooks

Eight events, and the set is closed. Five are AppSec (scan.completed, verdict.recorded, finding.state_changed, finding.sla_breached, audit.recorded) and three are NHI Security: nhi.finding.state_changed, nhi.credential.expiring, nhi.action.denied. One endpoint may subscribe to kinds from either product or both. Signed with HMAC-SHA256, delivered at least once with exponential backoff, and published from a transactional outbox so an event is a committed row before it is a request.

Notification destinations

A webhook endpoint receives the envelope and you write the receiver. A notification destination receives a message already rendered for one vendor, so there is nothing to host. This build delivers to eight: A destination subscribes to the same eight events, and narrows further with min_severity and only_blocking. It is registered with POST /api/v1/notification-targets and requires webhooks:manage, a human action, for the same reason a webhook endpoint is. Its secret is the customer’s own credential, stored encrypted, and no response returns one. Send notifications to Slack, Jira and other tools is the procedure, with what each destination needs.

Three of the eight close what they open

pagerduty, jira and servicenow create a record on the far side (an incident, an issue, an incident) keyed to the finding so a re-evaluation updates rather than duplicates. When the finding is resolved, TRUSTIVAN closes that record: PagerDuty resolves the incident under the same dedup key, Jira and ServiceNow look the record up and apply a close transition. The other five (slack, teams, splunk, datadog, email) are fire-and-forget. They receive the message that says a finding opened and no message closes it, because posting “that alert is fixed” into a channel as a second message is not closing anything.
Each renderer is verified against recorded fixtures of the published vendor API: the request it builds, the responses it classifies, the values it refuses at save time. None of the eight has been exercised against a live vendor account. Treat a new destination as unconfirmed until POST /api/v1/notification-targets/{id}/test has reported a success on it.

What the GitHub connection is

TRUSTIVAN supports GitHub sign-in, and a GitHub App installation that an organization links to itself. GitLab and Google sign-in exist on the same basis.
  • Pull requests are checked when you switch it on. With the installation linked and PR checks on for a repository, a verified pull_request delivery to POST /github/webhook records a check: TRUSTIVAN scans the head and base commits and posts a check run that reports only what the change introduces. GitLab merge requests get a commit status and a note through a per-integration webhook. See Pull request checks; a vulnerable dependency can also be bumped by a fix pull request.
  • There is no push-triggered scanning. A push delivery is verified and acknowledged without processing. It is fail-closed and it does nothing else.
If you want a scan on every push, drive it from your pipeline: that is CI pipelines, and it is a few lines of curl.

What does not exist

Stated rather than left to be discovered:
  • No scan of virtual machine images. Infrastructure-as-code files in a repository or filesystem scan are checked for misconfigurations (IaC scanning), and every collection of a connected Kubernetes cluster checks its workloads and RBAC (cluster posture checks), but a VM image is scanned by no shipped engine.
  • No credential can be read back. Registry authentication ships on Pro and Enterprise (store a credential against a registry host and scans of images from that host present it), but there is no endpoint that returns a stored secret at any role. A lost secret is rotated, not recovered.
  • No mail without a relay. With SMTP configured, invitations, verification, password reset and alerts are mailed (Send mail through your SMTP relay); without one, the administrator who created an invitation is given its accept link to deliver. Directory-sourced membership through SCIM or just-in-time SSO login avoids handling invitations at all.
  • No call-graph reachability. Findings carry an explainable risk score from 0 to 100, built from severity, the CISA KEV catalogue, EPSS (on by default), runtime evidence, fix availability and asset criticality, each factor shown with its source, and a container image’s entrypoint reachability lowers a package its entrypoint cannot load, but nothing determines which functions are actually called.
  • No third-party attestation. Evidence is mapped to the controls of eight frameworks, among them SOC 2, ISO 27001, PCI DSS 4.0, NIST SSDF, EU CRA and the CERT-In Directions (Compliance evidence), signed evidence packs record it per period, and the audit trail exports as a hash-chained package, but TRUSTIVAN holds no report or certificate of its own, and no control in those frameworks is ever reported as “compliant” or “pass”. The conclusion belongs to your auditor. (A CIS benchmark control on a cloud account can read “passing”: its automated checks found no failure in what was read, a configuration result rather than an attestation. See Cloud posture.)
  • No published price. A deployment with BILLING_PROVIDER=stripe offers a hosted checkout and the provider’s billing portal, and plans and their limits are enforced either way, but a price lives in the provider’s catalogue and none has been set up for this service, so a plan is arranged by conversation.

Where to go next