Policy engine and recorded verdicts
Write rules once and get a recorded pass, warn or fail verdict for every scan, with the deciding rule in the response.
Where:Policies screen · POST /scans/{id}/verdict, /policies
Docs: Policy engine and recorded verdicts →Versioned policies and a rule editor
Author rules in the console; every change is a new version, and a verdict names the version that decided it.
Where:Policies screen · /policies/{id}/versions
Docs: Versioned policies and a rule editor →trustivan CLI and CI gate
One command queues a scan, waits, enforces your policy and exits non-zero only when the build should stop.
Where:trustivan scan | gate | secrets scan | version
Limit:Exit 1 means blocked, 2 means TrustIvan could not answer.
Docs: trustivan CLI and CI gate →GitHub Action and GitLab CI template
Gate a pull request with the composite GitHub Action, or a GitLab pipeline with the shipped template.
Where:action.yml · infra/ci/trustivan-gate.gitlab-ci.yml
Docs: GitHub Action and GitLab CI template →Scoped REST API
Everything the console does is in a documented API with scoped, expiring keys, cursor pagination and idempotent scan requests.
Where:/api/v1 · docs/api/openapi.yaml · Settings → API keys
Limit:apikeys:manage cannot be granted to a key.
Docs: Scoped REST API →Signed webhooks with a delivery log
Seven events delivered with an HMAC-SHA256 signature, retried, logged per delivery, and disabled automatically when a receiver keeps failing.
Where:Settings → Webhooks · /webhooks, /webhooks/deliveries
Docs: Signed webhooks with a delivery log →Notifications to eight destinations
Send alerts to email, Slack, Microsoft Teams, PagerDuty, Jira, ServiceNow, Splunk or Datadog, filtered by what each should receive.
Where:Settings → Notifications · /notification-targets
Limit:Jira, ServiceNow and PagerDuty also close what they opened. Verified against simulated responses; no live suite.
Docs: Notifications to eight destinations →Email through your SMTP relay
With an SMTP relay configured, verification, password reset, invitation and alert email is delivered.
Where:SMTP_HOST and related settings
Limit:Nothing is sent until a relay is configured; without one an invitation link is handed to the administrator.
Docs: Email through your SMTP relay →Private registries with provider-minted logins
Store a credential per registry host, including Amazon ECR, Azure Container Registry and Google Artifact Registry logins minted from cloud identities.
Where:Settings → Credentials · /registry-credentials
Limit:Pro and Enterprise; verified against simulated responses.
Docs: Private registries with provider-minted logins →Single sign-on with OIDC and SAML
Prove your email domain, connect an OIDC or SAML identity provider, test it, then require it.
Where:Settings → Identity · /identity/provider, /identity/domains
Limit:Enterprise plan.
Docs: Single sign-on with OIDC and SAML →SCIM user provisioning and group roles
Your directory creates, updates and disables users through SCIM 2.0, and directory groups map to roles.
Where:Settings → Identity · /api/scim/v2
Limit:Enterprise plan; owner can never come from a directory group.
Docs: SCIM user provisioning and group roles →Two-factor authentication and an MFA policy
Enrol an authenticator app with recovery codes, and require a second factor for every member.
Where:Account and Settings → Identity · /auth/mfa, /identity/mfa-policy
Docs: Two-factor authentication and an MFA policy →Sign-in with GitHub, GitLab or Google
Sign in with a password, or with GitHub, GitLab or Google, with email verification and password reset.
Where:Sign-in screen · /auth/*
Limit:Each provider is enabled by the operator.
Docs: Sign-in with GitHub, GitLab or Google →Members, invitations, roles and seats
Invite people with a role, manage the roster, and see seats counted against your plan.
Where:Settings → Members · /members, /members/invitations
Docs: Members, invitations, roles and seats →Several organizations per person
Create organizations and switch between the ones you belong to.
Where:Organization switcher · /me/orgs, /me/active-org
Docs: Several organizations per person →Organization export and scheduled deletion
Export your organization's data, schedule its erasure with seven days to change your mind, and cancel.
Where:Settings → Organization · /orgs/current/export, /orgs/current/deletion
Docs: Organization export and scheduled deletion →Tamper-evident audit trail, export and anchoring
Administrative actions are hash-chained, exportable as an auditor package, and can be signed and anchored outside the database with auditctl.
Where:Settings → Audit · GET /audit/export · auditctl verify | checkpoint
Limit:The audit export is plan-gated.
Docs: Tamper-evident audit trail, export and anchoring →Compliance evidence mapping and reports
Map evidence to SOC 2, ISO 27001, PCI DSS 4.0, NIST SSDF, EU CRA and HIPAA Security Rule controls, and export a report and an executive summary.
Where:Compliance screen · /compliance/frameworks, /reports/executive-summary
Limit:Mapping, not attestation: no status is ever compliant or pass, and TrustIvan holds no certification.
Docs: Compliance evidence mapping and reports →AI agent governance in the AppSec console
Give an agent a bounded identity, declare its tools, authorize each invocation, approve irreversible actions, and quarantine it.
Where:Agents screen · /agents, /workloads, /authz/decide
Limit:Enforced where the agent's runtime asks; see the security notes for what is only observed.
Docs: AI agent governance in the AppSec console →Workload identities
Issue machine identities for services with their own credentials, rotation and revocation.
Where:Settings → Workloads · /workloads
Docs: Workload identities →Customer-controlled support access
Support cannot read your organization unless you grant a time-boxed, read-only window, which you can end.
Where:Settings → Support access · /support-access
Docs: Customer-controlled support access →Plans, limits and checkout
Free, Pro and Enterprise limits are enforced in the product, with Stripe checkout and a billing portal when the operator enables it.
Where:Settings → Plan · /billing/*
Limit:No published price; manual billing is the default.
Docs: Plans, limits and checkout →Data retention by plan
Findings and audit history older than your plan's window are deleted on schedule, so the stated window is the real one.
Where:Automatic (worker)
Docs: Data retention by plan →White-label branding
Present the product under your own name and colors; the open-source attribution never changes.
Where:BRAND_* settings · NHI operator branding
Docs: White-label branding →Ask AI in the console
Ask why a finding matters and how to fix it, why an asset has its grade or what a control asks for, from a button beside each or Ctrl+J. It answers as you, through the MCP server's read tools.
Where:Ask AI buttons · Ctrl+J · Settings → Organization → AI assistant
Limit:Off until an admin turns it on; needs the operator's Anthropic API key, and sends the question and what the tools return to Anthropic. A monthly token budget per organization.
Docs: Ask AI in the console →MCP server for AI coding assistants
Give Claude Code, Cursor or VS Code scoped access to findings, assets, posture and the check catalogue, locally or at the hosted endpoint.
Where:trustivan mcp · POST /api/v1/mcp
Limit:Tools only, under the API key's scopes; no tool starts a scan.
Docs: MCP server for AI coding assistants →Sessions that end
A browser session ends 30 days after sign-in however often it refreshes, and signing out everywhere refuses access tokens already issued.
Where:SESSION_MAX_DAYS · POST /auth/logout-all
Docs: Sessions that end →Tenant isolation in the database
Every tenant table is protected by row-level security that the application role cannot bypass.
Where:Structural
Docs: Tenant isolation in the database →Two consoles, one shell
The AppSec and NHI Security consoles share one sign-in, one navigation shell, light and dark themes and a command palette.
Where:app.trustivan.com · /nhi
Docs: Two consoles, one shell →Self-hosted deployment, by agreement
By agreement, since the source and container images are private: run it with Docker Compose on one host, or on Kubernetes with the Kustomize manifests: NHI Security, monitoring, the docs site and backups included, and an overlay for production on one k3s node with in-cluster databases and a nightly encrypted backup.
Where:docker-compose.prod.yml · infra/k8s · infra/terraform
Limit:The demo overlay is verified on a real k3s cluster and the single-node k3s overlay on a local one; the production overlay and the Hetzner Terraform have never been applied.
Docs: Self-hosted deployment, by agreement →Operations tooling
Migrations, backups and restore drills, key rotation with reencrypt, health and readiness probes, Prometheus metrics and alerts, and an operator support console.
Where:migrate · reencrypt · staffctl · infra/scripts · infra/monitoring
Docs: Operations tooling →