Migration
190. Adds cloud_accounts.scan_function_code (off by default).Added: PUT /api/v1/cloud/accounts/{id}/function-code-scan (credentials:manage, AWS accounts
only) and a Lambda packages row on each AWS account card. When it is on, collection downloads
each function’s zip package and runs the secret detectors on it. It uses lambda:GetFunction,
which the published policy already holds. See Cloud posture.Changed: deprecated-runtime checks follow each provider’s published schedule (Lambda, Cloud
Functions, Azure Functions). Runtimes such as Node.js 20, Python 3.10 and .NET 8 are now reported,
so existing accounts can show new deprecated-runtime findings after their next collection.Migration
189. Adds a WSDL path or uploaded WSDL and a gRPC address to a DAST target.Added: an active scan imports the WSDL and tests each operation; a gRPC address is checked for
plaintext, reflection without credentials and its TLS. No gRPC method is called. See
Dynamic scanning.Changed: TRUSTIVAN fetches a target’s WSDL itself and refuses one with a DOCTYPE, a processing
instruction, or a schema import that is not an absolute URL on the target’s origin. A WSDL whose
schemas are imported by relative path is not imported and the scan says so; upload it with its
schemas inline instead. The TLS check during a scan keeps to the target’s requests per second.NHI migration
0054. Adds GitHub accounts as third parties and records which organization a
GitHub connector has proven it administers.Added, each off by default: Amazon Bedrock agents (AWS includeBedrockAgents) and Vertex AI
Agent Engine deployments (Google Cloud agentLocations) as AI agents; MCP servers as identities
(identity_discovery); Okta refresh tokens (includeRefreshTokens); GitHub SAML SSO token
authorizations (includeCredentialAuthorizations). An agent registered with providerRef is
merged with the discovered one. See Connectors.Changed: an installed GitHub App owned by another account is listed under Third parties. A
GitHub organization counts as your own only when one of your GitHub connectors could list its app
installations (Administration read).Before you turn these on, add: AWS bedrock:ListAgents, bedrock:GetAgent,
bedrock:ListAgentActionGroups; Google Cloud aiplatform.reasoningEngines.list; Okta
okta.apps.read and okta.users.read; GitHub read:org on an organization owner’s classic token.Migration
187. Adds protocol, cipher_grade, cipher_suites and ssh_host_keys to
certificate endpoints and protocols to network ranges. A downgrade past it drops them.Changed: how many handshakes a TLS check makes. Each endpoint check, and the TLS check of a
DAST scan, now enumerates the cipher suites the
server accepts: one handshake per accepted suite at each of TLS 1.0, 1.1 and 1.2, plus one per
version and one for TLS 1.3, instead of three. An SSH check adds one key exchange per host key
type (at most six), without logging in. A server that rate-limits connections may now fail a
check part way, which is recorded as a check that could not complete.Changed: ports 21 and 5222. An endpoint on port 21 is upgraded with FTP AUTH TLS and one
on 5222 with XMPP STARTTLS before the handshake; before, both were spoken to as TLS and the
check could not complete.Added. A cipher grade per TLS endpoint; checks tls-cipher-no-forward-secrecy,
ssh-host-key-short and ssh-host-key-changed; protocol://host:port addresses and per-port
protocols on ranges for services on other ports. The catalogue grows by three checks.Before you upgrade: nothing. Expect new low and medium findings on endpoints that accept
RSA key exchange or serve short SSH host keys at their next daily check. The first check of an
SSH endpoint records its keys; only a later change raises ssh-host-key-changed.Migration
188. Lets a certificate be held by a service mesh trust root (source mesh) and
adds certificate_gate_runs, where uploaded tls-check results are kept (newest 500 per organization).Changed: each cluster collection also lists two ConfigMaps by name, istio-ca-root-cert and
linkerd-identity-trust-roots, and adds the mesh roots
they hold to the inventory, judged on a new “cluster mesh trust roots” asset. A cluster connected
with the earlier ClusterRole is refused the list, which shows on its posture page as mesh not read
and changes nothing else.Added: POST /api/v1/certificates/gates (scans:create) and the tls-check upload input
(-upload on the command line). Nothing is uploaded unless you turn it on.After you upgrade: add the configmaps rule (with its two resourceNames) from the Connect
cluster dialog to each cluster’s trustivan-collector ClusterRole.Migration
186. Adds the code_quality finding kind and lets an organization’s scanner
settings name the new quality scanner. A downgrade past it deletes code-quality findings.Added: the code-quality scanner (lizard, function complexity,
length and parameters), off until an organization selects it, and only on a worker whose image
has lizard (backend/Dockerfile.sast installs it). GET /api/v1/stats/posture gains
kind_counts.code_quality, and the catalogue gains the quality area (one check).Before you upgrade: nothing. Nothing changes until an organization turns the scanner on.Changed: an AWS account’s policy. Cloud posture now calls
iam:GetLoginProfile (per
user, for CIS 1.10 and 1.11), iam:ListVirtualMFADevices (CIS 1.6) and
iam:ListServerCertificates (CIS 1.19). Add them (the Connect account dialog shows the
whole policy). Until you do, each run is partial, the checks that need them read not
assessed, and a partial run resolves no findings. No migration.Added: 23 checks. On AWS, CIS 1.11 (a console user’s never-used access key) and 1.18 (an
instance without an IAM role). On Azure, Defender for Cloud plans (CIS 2.1.2 to 2.1.11), Log
Analytics auto provisioning (2.1.14), security contact email and alert notifications (2.1.17 to
2.1.19), storage public network access (3.7), Application Insights (5.3.1), unattached disk keys
(7.4) and App Service authentication, managed identity, HTTP/2 and FTP (9.1, 9.4, 9.8, 9.9) for
web and function apps. Azure needs nothing new: every read is a GET the Reader role grants.
Expect new findings on the first run after the upgrade.Changed: CIS mappings. cloud.iam.custom-owner-role maps to CIS Azure 1.22 (it said 1.23,
which is the resource-lock role). CIS Azure 3.7 is public network access, so
cloud.storage.public-access no longer maps to it (it keeps 3.17). The App Service and Azure
Functions HTTPS and TLS checks map to 9.2 and 9.3. Several AWS controls that read not assessed
now reach a verdict (1.6, 1.10, 1.17, 1.19, 2.1.2, 3.4), and the user-only IAM checks no longer
read not assessed because roles were unjudged.Added:
POST /api/v1/docs/ask, an unauthenticated endpoint that answers questions about the
documentation for the docs site’s Ask AI,
on the platform Anthropic key with Claude Haiku 4.5. No migration. With no ANTHROPIC_API_KEY set
nothing changes: the widget stays hidden.Before you upgrade: nothing. Its limits default to 10 questions per client address per hour
and 500 a day; change them on the setup page (DOCS_ASK_HOURLY_PER_IP, DOCS_ASK_DAILY_LIMIT).
A self-hosted docs export must be published with DOCS_API_ORIGIN set to your API’s origin, and
that origin added to the docs CSP’s connect-src.Migration
182. Adds read_tls_secrets to connected clusters (default off), lets a
certificate be held by a Kubernetes TLS Secret, and adds the kubernetes_certificates asset kind.Changed: each cluster collection also reads cert-manager. It lists certificates, issuers
and clusterissuers in cert-manager.io and files the cert-manager checks
on a new “cluster certificates” asset. A cluster without cert-manager is unaffected. A cluster
connected with the earlier ClusterRole is refused the list, which shows on its posture page as
cert-manager not read and changes nothing else.After you upgrade: add the cert-manager.io rule from the Connect cluster dialog to each
cluster’s trustivan-collector ClusterRole. Reading TLS Secrets stays off until you apply the
separate optional role and turn it on per cluster.Changed: an AWS account’s policy. Cloud posture reads Bedrock and SageMaker:
bedrock:GetModelInvocationLoggingConfiguration, bedrock:ListGuardrails,
bedrock:ListProvisionedModelThroughputs, bedrock:ListCustomModels,
bedrock:GetCustomModel, bedrock:ListAgents, sagemaker:ListNotebookInstances,
sagemaker:DescribeNotebookInstance, sagemaker:ListEndpoints,
sagemaker:DescribeEndpoint and sagemaker:DescribeEndpointConfig. Add them (the
Connect account dialog shows the whole policy). Until you do, each run is partial,
the AI checks read not assessed, and a partial run resolves no findings. See
Cloud posture.Changed: Google Cloud APIs. The collector reads Cloud Functions, Vertex AI and the
Notebooks API with the roles it already needs. Enable those APIs in the project that owns
the service account; a disabled one makes the run partial, naming SERVICE_DISABLED.Changed: Azure function apps are functions. A site whose kind is functionapp is
collected as a serverless function, not a web app. Its findings from
cloud.webapp.http-allowed and cloud.webapp.outdated-tls are resolved on the next
complete run and reappear as cloud.function.http-allowed and
cloud.function.outdated-tls. Reader still covers every read.Added. AI services (Azure OpenAI and AI Services accounts, Bedrock per region,
Bedrock custom models and agents, SageMaker and Vertex AI endpoints and notebooks)
are collected, each recorded as an asset of its account, with new cloud.ai.* checks.
cloud.function.public-url and cloud.function.deprecated-runtime now apply to every
provider, with their IDs unchanged.Added: production alerts to Slack, set on the setup page. Paste a Slack incoming webhook
into Production alerts and press Send test
alert. The API and worker then send each server error, failed scan and failed background task
to it, naming the affected organization; repeats within ten minutes are folded into one message.
No webhook set, nothing is sent.
STACK_NAME (optional) names the stack in those messages.Changed: the worker refreshes the vulnerability database itself, once an hour, when the
cached copy is past its next-update time. An idle stack no longer ages its database into the freshness alerts,
and the first scan after a quiet spell no longer waits for the download. Offline deployments
(SCANNER_OFFLINE=true) are unchanged. Expect one download on each worker shortly after the
upgrade if its cache is stale.Changed: alert text. TrustOwlVulnDBUnusable now says scans will be refused unless the
next one can refresh first, and the vulnerability database alerts name the stack. New rules:
TrustOwlPeriodicTaskFailing and, on a multi-stack host, TrustivanContainerGone.After you upgrade, once on the host: run infra/scripts/routines.sh enable app (it installs
and enables trustivan-alert-webhook-sync.timer, which copies the setup page’s webhook into
Alertmanager every five minutes), then infra/scripts/monitoring-host.sh up to load the new
rules and the new Slack message format. Until then, Alertmanager keeps using ALERT_WEBHOOK_URL.Migration
181. Adds platform_config (settings the staff console stores;
secrets sealed with the platform keyring and bound to their row),
platform_setup_checks, platform_setup_jobs, and staff_sessions.stepped_up_at.
No row-level security: these are platform tables with no tenant, protected by
grants (the job role cannot read them) and the staff console’s own checks. The
key-retirement view and reencrypt now cover platform_config.value_encrypted.
Nothing existing is rewritten.Nothing changes until someone uses the page. Every value already in an env
file keeps winning; the page shows it as read-only.Changed: NEXT_PUBLIC_PASSWORD_RESET_ENABLED is gone. The dashboard reads
whether to offer Forgot password? from GET /api/v1/platform/notice
(password_reset_enabled). If you built the dashboard with that argument set to
true, set PASSWORD_RESET_ENABLED=true on the API, or switch it on in
platform setup, or the link disappears.Changed: staffctl mail-test is replaced by Send test email on the
setup page, and staffctl backup-env <stack> is new.Changed: audit checkpoints are always scheduled on the worker and read
AUDIT_CHECKPOINT_DIR and AUDIT_CHECKPOINT_KEY on each run; with no directory
a run does nothing, as before.After you upgrade, once on the host, if you want backups to use a target set
on the page: copy the updated infra/systemd/trustivan-backup@.* units, run
systemctl daemon-reload, and start one run to confirm
(details).Migration. The backend runs
180. It adds org_brands, one row per
organization that sets a brand (name, colours, support contact, white label, a
logo of at most 256 KiB, and a custom hostname with its verification state),
with forced row-level security, three lookup functions for callers without a
tenant (a brand by verified hostname, a logo by digest, and the
pending-domain list, which only the worker’s role may call), and the
custom_branding plan feature, on for Enterprise only. Nothing existing is
rewritten. Rolling it back drops the table and every brand in it.Changed: GET /api/v1/me/context can carry brand. Present only when an
organization’s own brand applies. NHI Security renders it; a client that
validates the response strictly must allow the new optional field.Changed: an organization’s mail can carry its brand. With a brand applied,
its members’ mail shows the organization’s name as the sender’s display name
(the address stays SMTP_FROM), its logo, button colour and support contact,
and links on its verified custom domain.Added: a worker job and an edge endpoint. The worker checks unverified
custom domains every five minutes with one TXT lookup each. The API answers
GET /internal/tls/ask for an edge doing on-demand TLS. Neither does anything
until an organization claims a domain. Serving custom domains needs an edge
change, described in Custom sign-in domain.No migration on either side.Changed: NHI Security sends a request to the AppSec API after each
synchronization. Only in federated sign-in (
AUTH_MODE=trustivan), only for
a tenant federated with an organization, and only once an admin stores an
organization API key with scans:create under the NHI credential handle
security-graph-publisher (field token). Until then nothing is sent. The
request goes to TRUSTIVAN_API_ORIGIN, the same origin sign-in uses, as
PUT /api/v1/security-graph/nhi-identities with X-Expected-Organization; a
key of another organization is refused with 409. Each attempt is written to
NHI Security’s audit trail as security_graph.published.After you upgrade: set Cluster UID on Kubernetes connectors that should join
the AppSec graph’s cluster nodes: the kube-system namespace UID
(kubectl get namespace kube-system -o jsonpath='{.metadata.uid}'), the
clusterUid setting. Without it the cluster’s accounts are published with no
Kubernetes key.Migrations. The backend runs
179. It adds nhi_graph_identities, what NHI
Security last published for each organization, with forced row-level security,
and lets the security graph store nhi_identity nodes. Nothing existing is
rewritten; graphs gain NHI nodes after the first publication.Migration. The backend runs
178. It adds user_webauthn_credentials,
webauthn_ceremonies, custom_roles, org_ip_allowlist,
org_encryption_settings and tenant_data_keys, with forced row-level
security on the tenant tables, a custom-role column on organization_members,
and session columns (session id, IP address, user agent, revoke reason) on
refresh_tokens. The one rewrite: each existing refresh token gets a session
id equal to its own id, so every live sign-in becomes a session. Rolling it back drops an
identity table, so migrate down needs --force-drop-audit.Changed: sign-in sessions are listed. People can see and end their own
sessions, and admins can end a member’s. Sessions that started before the
upgrade are listed too, without an IP address or user agent.Changed: an organization can refuse requests by IP address. Nothing is
refused until an admin adds an allow-list. Once one exists it applies to
sessions, API keys and workload credentials alike (403 ip_not_allowed).After you upgrade: move secrets onto tenant data keys. New secrets are
written under a per-organization data key (v3: ciphertext). Existing ones
stay readable under the master key until you run reencrypt plan, then
reencrypt apply. Set KMS_PROVIDER and KMS_KEY_ID first if the data keys
should be wrapped by AWS KMS, Cloud KMS or Vault Transit instead of the local
key. See Envelope encryption.addedchanged
Runtime response, drift prevention, registry discovery, running-image scans, keyless signatures
Migration. The backend runs
176. It adds drift_prevention (default
false) to kubernetes_clusters, and four tables with forced row-level security:
runtime_response_policies, runtime_response_actions, registry_discovery
and registry_discovered_tags. Nothing existing is rewritten.Changed: running images are scanned. After every cluster or cloud
collection, each running image that matches no scanned image is queued for a
scan (at most 50 per collection, once a day per image), through the ordinary
scan path: it counts against the plan’s scan allowance and the new scans show
trigger: system. An image in a private registry needs a registry credential,
or the scan fails and is retried the next day.Changed: the runtime rules. The trustivan-runtime chart (0.2.0) ships 33
rules instead of six. Expect more runtime events, notably Network tool run in
container and Cluster client run in container where images ship those tools.
Existing rule names, and so existing findings, are unchanged.Migrations. The backend runs
173 and 174. 173 adds the security
graph’s tables (the cloud resources a graph reads, its nodes and edges, the
attack paths, the findings each path depends on, and one build row per
organization), each with forced row-level security. 174 adds two global
tables the worker fills from OSV’s archives, malicious_packages and
advisory_symbols, read-only to the application role like the KEV catalogue,
and osv as a third feed in risk_feeds. Nothing existing is rewritten.Changed: the worker downloads OSV’s archives. OSV_SOURCE defaults to
url: once per RISK_FEED_REFRESH_HOURS the worker fetches the npm, PyPI and
Go archives (about 260 MiB together; npm’s is streamed to a temporary file).
Set OSV_SOURCE=file with OSV_DIR for an air-gapped site, or none to turn
malware advisories off. See Malicious packages.Changed: new findings. The first scan after the upgrade can add critical
findings for packages a malware advisory names (identifier MAL-…, or a GitHub
advisory the scanner already reported, now critical), and medium or
high TRUSTIVAN-TYPOSQUAT findings for npm and PyPI names one edit from a
popular package. A policy that fails on critical findings fails on the first.Changed: risk scores. The model is now risk-v5, with three new factors
in every explanation. A malicious package adds 60 points and a suspected
typosquat 20 (malicious). A vulnerability the scanned repository does not
reach scores × 0.5 (no call path to the vulnerable function) or × 0.6 (nothing
imports the package) (reachability). A finding an
attack path depends on is multiplied by up to 1.25
(attack_path). A finding with none of the three scores exactly what it did.
Scores change at each finding’s next risk pass, reachability at its asset’s next
scan, and the attack-path factor at its organization’s next graph build, so a
sorted backlog can reorder. See Risk scoring and
Reachability.Changed: anonymous repository scans clone through TRUSTIVAN. A public
repository scanned for vulnerabilities is now checked out by TRUSTIVAN (as a
private one already was) rather than by the scanning engine, so the source is
still on disk for the reachability pass. Detection, paths and fingerprints are
unchanged.What operators see. The worker runs a “security graph” task every minute. It
rebuilds each organization a scan, collection or triage change marked, and any graph
older than six hours, and logs one line per build.changedsecurity
Ask AI, session lifetime, rate limits during a Redis outage, staff grants, backlog index
Migrations. The backend runs
164 (the ai_assistant plan feature, granted to
every plan and off for every organization until an admin turns it on), 165
(when each browser session started), 166 (a fix pull request may name only its own
organization’s findings) and 167 (an index for the backlog’s default order).Changed: sessions end. A refresh more than SESSION_MAX_DAYS (default 30)
after the person signed in is refused with the ordinary 401, so a tab left open
for a month signs in again. Sessions that already exist count from when their token
row was created. See Credentials.Changed: rate limits during a Redis outage. The API and Ask AI limits now count
in each replica’s memory while Redis is unreachable, instead of allowing every
request. With N replicas a client can reach up to N times the limit during the
outage.Changed: staff grants. Assigning a plan, starting a trial, granting an override,
lifting a suspension, changing a staff role or re-enabling a staff account answers
503 audit_unavailable when the platform audit trail cannot record it. Suspending,
signing out everywhere, closing support access, revoking an override and disabling a
staff account still proceed.Added, opt in. Ask AI needs ANTHROPIC_API_KEY;
without it the assistant refuses every question and calls no model.Migrations. The backend runs
161 (the Certificates and Exposure plan features,
granted to every existing plan), 162 and 163 (email DNS domains and settings). NHI
Security runs 0048 (the AI agent and MCP policies and the prompt_injection_risk
finding kind), 0049 (an SSH key’s algorithm and size) and 0050 (three SSH key
policies).Changed: plan features. Certificate and dynamic-scanning routes, sweeps and scans
check the certificates and exposure features. Every plan has both after 161; a
plan you edit later without them locks those pages for its organizations. See
Products.Added, opt in. GitHub deploy keys (includeDeployKeys) and GCP metadata SSH keys
(includeSshKeys) are read only when the connector sets them. AWS EC2 key pairs need
ec2:DescribeKeyPairs and ec2:DescribeInstances. See SSH keys.Migrations.
155 (runtime detection repeat windows and a per-cluster budget),
156 (the sensor’s fields on stored runtime events) and 157 (serverless
workloads in the running-image index) run on upgrade.Changed: an AWS account’s policy. Code to cloud reads ecs:ListClusters,
ecs:ListServices, ecs:DescribeServices, ecs:ListTasks, ecs:DescribeTasks
and elasticloadbalancing:DescribeTargetGroups. An account whose policy lacks
them still collects, without its ECS containers. Cloud Run and Azure container
reads are covered by roles/viewer and Reader. See Cloud posture.Added, opt in. The runtime sensor is a Helm chart you install per cluster
with an API key holding scans:create. See Runtime sensor.Migrations
159 and 160 run on upgrade. To read ACM certificates, add acm:ListCertificates and acm:GetCertificate to the policy of each connected AWS account; for Key Vault certificates, grant Key Vault Reader (or a certificate List/Get access policy) on the vaults. Certificate Transparency monitoring stays off until you set CT_MONITORING_ENABLED=true and allow egress to CT_SEARCH_URL (https://crt.sh by default). See Certificates and TLS.Added. Certificates held in AWS Certificate Manager, Azure Key Vault and Google Certificate Manager / Compute SSL certificates join the inventory at each cloud collection, with findings on a cloud_resource asset per certificate. Optional CT monitoring of verified DAST hosts, with two checks (ct-unexpected-issuer, ct-unexpected-name), findings on a new asset kind certificate_domain, and a new route GET /api/v1/certificates/ct.Changed. GET|PUT /api/v1/certificates/settings carry a ct object next to thresholds, and PUT accepts either part alone. An account whose policy lacks the certificate reads shows a gap for the certificate kind on its posture; its posture run is not marked partial. The check catalogue’s tls area has twelve checks.addedchanged
Evidence packs, code to cloud, posture grades, the MCP server, NHI ownership and access reviews
These are on
main and in no tagged release yet; What’s new describes them.Migrations. The backend runs 148 (evidence packs), 150 and 151 (the running-image index for code to cloud) and 154 (daily grade snapshots) on upgrade, beside 152 and 153 below. NHI Security runs 0044 (suggested owners, label keys and ownership rules), 0045 (the owner_departed policy), 0046 (an access review’s saved definition) and 0047 (the certification_unanswered policy). Apply them before the new binaries start; see Database migrations.Changed: a connected cluster’s role. Code to cloud and the certificate inventory read get and list on services and networking.k8s.io/ingresses. Re-apply the ClusterRole from the Connect cluster dialog to each cluster. A cluster on the older role still collects; its internet exposure reads as unknown, and the certificate inventory cannot read its Ingress hosts. See Code to cloud and Kubernetes posture.Changed: an AWS account’s policy. Code to cloud calls lambda:GetFunction for container-image functions. An account whose policy lacks it still collects, without those functions’ images. See Cloud posture.Changed: risk scores. The model is now risk-v4, which adds points for a running image (15), an internet-exposed workload running it (10) and a privileged or host-network one (5). Scores change at each finding’s next risk pass, so a sorted backlog can reorder. See Risk scoring.Changed: new NHI Security findings. At the first evaluation after the upgrade, an identity owned by a person whose account is already suspended or disabled gets an orphaned_identity finding, and an identity whose latest access-review item already expired unanswered gets an unreviewed_access finding. Saved ownership rules run after every synchronization. See Ownership and Access reviews.Added, nothing to configure. Evidence packs need the audit_export plan feature. The check catalogue route (GET /api/v1/catalogue/checks) needs findings:read. trustivan mcp is part of the existing trustivan binary.addedchanged
Certificates: an inventory of TLS certificates, ten checks, and the tls-check GitHub Action
Migrations
152 and 153 run on upgrade. Nothing to configure. See Certificates and TLS.Added. A Certificates page and /api/v1/certificates routes: endpoints you add, your https DAST targets and the TLS hosts of connected clusters’ Ingresses are checked daily, and failed checks are findings on a new asset kind, tls_endpoint. New critical or high ones reach the destinations that receive new findings from scans.Changed. Dynamic scans of an https target run the new checks too (weak key, SHA-1 or MD5 signature, lifetime over 90 days), and an expiring certificate is now reported from 30 days left (low), 14 (medium) and 7 (high), where it used to be low under 14 days. Existing targets can show new findings, and existing expiry findings can change severity, after their next scan.Changed. The check catalogue has a fifth area, tls, with ten checks.addedchangedfixed
Code Security: link a GitHub installation by choosing it, and fix pull requests update lockfiles where provably safe
Migration
147 adds one nullable column. To use the new linking, check that your GitHub App has GITHUB_APP_CLIENT_ID and GITHUB_APP_CLIENT_SECRET set, and that https://<api-origin>/api/v1/auth/github-app/callback is registered on it. Nothing else changes in a deployment. See Pull request checks and Fix pull requests.Added. The repository’s Pull requests card links the App’s install page and lists the installations GitHub says you can access, chosen with one click. New routes: GET /api/v1/code-integrations/github/installations and POST /api/v1/code-integrations/github/authorize. Linking still requires GitHub to list the installation.Changed. POST /api/v1/code-integrations/github/installations answers 403 rather than 502 when GitHub refuses the stored token, which it does for a token that is not from the App’s own sign-in or has expired. A person who signed in another way chooses Authorize on GitHub once.Changed. A fix pull request can now change package-lock.json or go.sum as well as the manifest, with a second commit on its branch, when the result is provably coherent. It reads registry.npmjs.org, proxy.golang.org and sum.golang.org to do so, and if those are blocked the pull request still opens. Nothing is ever run against your code. In every other case its description, and now the dashboard, state the exact command to run and why, including for pnpm, Yarn and Bun, where it used to say npm install.Changed. A fix pull request is refused for a pip requirement pinned with --hash, where it used to commit a pin whose hashes no longer matched and so failed pip install.Fixed. A repository without the expected manifest now gets the reason (422), rather than 502 saying GitHub refused the change. The GitHub installation list no longer stops at the first 100.addedchangedfixed
SLA breach and trial alerts, schedule time zones, Kubernetes Collect now is asynchronous, and a lost collection says so
Migrations
145 and 146 run on upgrade. Nothing to configure. The trial notices and any email alert need this deployment’s mail relay (SMTP_HOST), and do nothing without it.Changed. POST /api/v1/kubernetes/clusters/{id}/collect now answers 202 at once with the cluster, collecting: true, instead of 200 when the run ends. It used to time out on a large cluster. Poll GET /api/v1/kubernetes/clusters/{id} until collecting is false, then read status and status_reason. The answer no longer carries workloads, images, runs_edges, deployed_to_edges, stale_edges_removed, findings, partial, partial_reason or unresolved_images: last_workload_count, status and the cluster’s posture say what the run saw. Check any script that reads them.Changed. Organizations with New critical or high findings switched on for email or Slack are subscribed to the new finding.sla_breached event by the migration. They hear about it only if they have set an SLA policy, and Settings → Notifications turns it off. Other destinations and webhook endpoints subscribe by naming it.Added. Findings newly past their SLA deadline are announced hourly, once per finding per breach. The first check after upgrade announces a backlog already overdue, two hundred findings at a time. See Work the backlog by SLA.Added. A trial’s owners are mailed three days before it ends and in its last 24 hours, once each.Added. A schedule takes an IANA timezone, on PUT /api/v1/assets/{id}/schedule and the asset page, and a daily or weekly one keeps that zone’s clock through daylight saving. Every existing schedule is UTC and runs exactly when it did.Fixed. A restart of the API during a cloud or Kubernetes Collect now left it reading as collecting for up to ten minutes, then as if nothing had happened. It now reads as failed within about 90 seconds, with a reason, and can be started again.No migrations and nothing to change in a deployment. See Dynamic scanning: limits.Changed. While no dynamic scan can start,
POST /api/v1/dast/targets, POST /api/v1/dast/targets/{id}/scans and enabling a web application’s schedule answer 503 with code: dast_engine_unavailable. The first used to succeed, and the second answered 400 naming an unsupported scanner. Check any script that calls them.Changed. A schedule on a web application now counts toward one dynamic scan queued or running per organization. If one is in flight, the schedule shows that as its last error and tries again, no later than its next occurrence.Added. Dynamic scans of an https target now check the certificate and whether the server accepts TLS 1.0 or 1.1, so existing targets can show new findings after their next scan.Fixed. A check of ownership that gets no answer, such as a DNS timeout, no longer clears a target’s verification. That one scan is passive and the target stays verified. Queued dynamic scans no longer hold a worker slot while another organization’s scan runs.changed
Cloud posture: Collect now is asynchronous, and empty or truncated results no longer read as passing
Expect passing counts to fall where a service was empty. A client that read the
counts from the
collect response should read GET /cloud/accounts/{id}/posture
once collecting is false. To offer role connections on your own deployment, give
both api and worker an AWS identity.No migrations and nothing to change in a deployment. Dependencies with known vulnerabilities were upgraded in the backend and in NHI Security, including
next, multer, golang.org/x/net and containerd. Building the backend from source now needs Go 1.26.6 or later.No migrations. The staff console can now add a customer, run a trial of a paid plan, and switch a feature or limit for one customer. See Staff console.Changed. These were accepted and now answer
400, so check any script that calls them:POST /api/v1/staff/organizations/{id}/entitlementswith a limit or feature the product does not have. It used to be stored and do nothing.PUT /api/v1/staff/organizations/{id}/planwith a plan that does not exist.
No migrations and nothing to configure. If a client or a monitor branches on these status codes, check it before you upgrade.The API answers bad input with what it means, not
500.NHI Security reports an identity provider outage as an outage. When the NHI API cannot reach
TRUSTIVAN_API_ORIGIN, tenant routes answer 503 with reason: identity_provider_unavailable, where they answered 401. Access is still refused. The console now shows a retryable error where it used to send a signed-in person to sign-in and straight back.infra/scripts/smoke.sh checks that link. A deploy now fails when NHI Security behind the dashboard cannot reach its identity provider. See Deploy NHI Security.Re-running a branch scan scans that branch. It used to re-scan the default branch, so a re-run may report different findings from the last one.- The logo is the T + r mark. The gold key is retired on every surface:
both consoles, the website, these docs, favicons and share cards. NHI
migration
0043writes the new mark to the platform default brand as a logo, a logo for the dark theme and a favicon. It replaces only what0042wrote: if you set your own logo or favicon throughPUT /api/v1/platform/branding, yours is kept. The NHI console now shows a brand’s dark-theme logo in the dark theme; before, it showed the light logo in both. Nothing to configure.
changedsecurityadded
Sign-in, audit, API errors, tenant isolation, NHI Security, Code Security, pull request checks, cloud posture, Kubernetes posture and admission, the consoles, vulnerability management, dynamic scanning
Before you deploy
- Set
STAFF_ALLOWED_CIDRSif you have a staff account. An empty value used to admit every address to the staff console. It now refuses every address, and the console answers404, sign-in included. List the networks your operators sign in from, or setanydeliberately (the API logs a warning at every start while it is set). See Staff console. - Back up, then expect migration
127to check your data. Backend migrations124,126,127and128run on this upgrade.127rewrites every foreign key between two tenant tables to carry the organization and validates the rows already there. If it fails with a foreign-key violation, the database already holds a row in one organization that points at another’s: treat that as an incident and find the row from the key in the message. See Tenant isolation. - Generate
AUDIT_CHECKPOINT_KEYif you will sign checkpoints, and keep it out of the database and out of the deployment’s environment file. Seeauditctl. - Plan for two more services and four more migrations. Migration
129stores image signature results on a scan, and132,133and134add dynamic-scanning targets, scan progress and cancellation. The production Compose file now startszap(the scan engine, about 1 GB of memory at rest, limited to 2 GB) anddast-egress(its gateway). To run without dynamic scanning, setDAST_GATEWAY_URL=offon the api and the worker and remove the two services. See Dynamic scanning. - Link your GitHub installation if you use the Action’s pull request comment. The gate’s comment is now posted only through a GitHub App installation linked to the organization whose key runs the job. Until an administrator links it, the verdict still gates the build but no comment is posted. See Pull request checks and The pull request comment.
- Two more migrations:
135and139.135adds aposturecolumn tocloud_accounts.139adds five tables for linked code-host installations, per-repository pull request settings, pull request checks, what a pull request scan saw, and fix pull requests, each with forced row-level security. - Two Kubernetes migrations:
140and141.140addspostureandtrusted_registriestokubernetes_clusters.141changes only the default ofadmission_failure_modetoclosed: a cluster you connect after the upgrade refuses a workload when TRUSTIVAN cannot answer, and a cluster already connected keeps the mode it has. See Admission webhook. - An air-gapped site must choose an EPSS source.
EPSS_SOURCEnow defaults tourl, so the worker fetches FIRST’s daily file through the SSRF-guarded transport. Setfile(withEPSS_PATH) ornonewhere it has no route out. See EPSS.
What people notice
- Every browser signed in before the deploy is sent to sign-in once. The CSRF token is now bound to the session, and the first session renewal with a token issued earlier is refused. It does not recur. See Authentication.
- Sign-in does more hashing. Passwords are hashed with bcrypt at cost 12 (it was 10). An existing account is re-hashed at its next successful sign-in; there is nothing to run. See Security model.
- Four actions are refused when the audit trail cannot be written: creating
an API key, creating a SCIM token, and staff opening or reading a support
session. They answer
503with"code": "audit_unavailable"and change nothing. See Audit trail.
For API clients
- Every error body carries
code.erroris unchanged. Bodies over a size bound now saypayload_too_largerather thanvalidation_failed, andsso_required,mfa_enrollment_requiredandmfa_requiredare now codes as well as flags. See Errors and limits. - Every API response sets its own security headers:
nosniff,X-Frame-Options: DENY,Referrer-Policy: no-referrer, and HSTS on requests that arrived over TLS. See Security model. - The specification was corrected to match the API, with no handler
changed: nullable fields are typed
[T, "null"]under OpenAPI 3.1, a staff refusal is documented as404(it was always404), and seven statuses that were sent but undocumented are listed. See the API reference.
For operators
auditctlverifies every hash-chained audit table and signs a checkpoint of the chain heads to keep elsewhere. Finding events, policy verdicts and agent actions are chained from this upgrade on; rows written before it are counted as unsealed. Seeauditctl.- Stored secrets are bound to the row that holds them. Run
reencrypt applyonce to bind ciphertext written earlier, readreportuntil it shows no unbound rows, and only then setSECRETS_REQUIRE_BOUND=true. Staff TOTP seeds are now part of the sweep. See Key rotation. On the production Compose fileSECRETS_REQUIRE_BOUNDneeds an override file at this release: see Production Compose. - Credential lookups no longer use a cross-tenant policy. The application database role can no longer read another organization’s API keys, members or identity providers by setting a session variable. Nothing to configure.
NHI Security
- A suspended organization’s agents stop. NHI migration
0040: every runtime credential of an organization that is notactiveanswers401. Reinstating the organization restores them. See Runtime gate. - Remediation kinds nothing can carry out are refused when proposed.
quarantine_identityis the one kind accepted. The five provider-facing kinds answer422withno_executor_installed, andassign_owner,create_ticketandnotify_owneranswer422withnot_implementedinstead of reporting success. See Remediation. - Assigning an owner resolves the unowned findings on that identity in the same request. See Ownership.
- Findings can be triaged in bulk, and an exception requested from the finding. Nothing to configure; each status change is sent and checked separately, and a refused one is named. See Findings and risk.
- A finding covered by an approved exception says so (
exceptionon the finding, Exception until in the console). It is still not suppressed. See Findings and risk. - A standalone deployment can change its brand from the operator console
(
PUT /api/v1/platform/branding, NHI migration0041). Inside TRUSTIVAN that console does not exist. See Platform operators. - The general rate limit is counted per route, and the console keeps showing its last good brand when a brand read is throttled. See NHI configuration.
- The default brand is cobalt. NHI migration
0042writes the owner-approved palette (cobalt actions,#1d4bc9light and#4c7dffdark), radius and key logo to the platform default brand. A tenant on the default brand sees cobalt where it saw mint; a tenant’s own brand is untouched. - The console is redesigned. It shares the AppSec console’s side rail, top bar and product switcher, opens in a light theme (dark is a per-browser toggle), groups findings by issue with a side panel, and adds ready-made identity views. Nothing to configure; bookmarked URLs keep working. See NHI Security.
The AppSec console
- The console is redesigned and opens light. A first visit is light whatever the operating system’s setting; a dark choice is remembered per browser. The navigation groups Vulnerabilities, Code security, Cloud posture and DAST, findings open on a Priority view grouped by issue, and filters live in the URL. See Work the backlog.
- Ignoring a finding in the console needs an expiry of at most two years, as well as a reason. The API still accepts a permanent suppression. See Suppress a finding.
Code Security
- Pull request checks now run your scanner selection. They ignored it before. If your organization selected misconfiguration or static analysis for repositories, checks start reporting those too. See pull request checks.
- A linked GitHub App installation now clones private repositories on its own account when no git credential is stored for the host, so the App needs Contents: read. A clone the host refuses now fails at once, with a message naming the fix, instead of being retried.
- Git-history scans report more secrets. Where git-history scanning is on, the detector set grew to 189 as of 2026-10-29 (12 written by TRUSTIVAN, 177 adopted from gitleaks with attribution), so the next scan of a repository can open findings the last one did not. See Secret scanning.
- Static analysis has a first-party ruleset, written by TRUSTIVAN, with
taint rules for injection. It is still opt-in: set
SAST_RULESand build the analyser image. Expect new findings on the next repository scan with static analysis on. See Static analysis. - New, nothing to migrate: SARIF 2.1.0 export
(
GET /api/v1/scans/{id}/sarif,trustivan scan --sarif, the Action’ssarif-fileinput), and image signature verification with asigned_bypolicy rule. Asigned_byrule fails, rather than passes, a scan that predates the key. See SARIF and code scanning and Image signatures. - New: pull request checks and fix pull requests, off for every repository
until you switch them on. They need the deployment’s GitHub App
(
GITHUB_APP_IDandGITHUB_PRIVATE_KEY) with Checks, Contents and Pull requests permissions and Pull request events, linked to the organization; GitLab needs a stored git credential with theapiscope and a per-integration webhook. Pull request scans use the deployment’s default repository scanners and never change the repository’s backlog. See Pull request checks and Fix pull requests.
Cloud posture
- Accounts are checked against the CIS-mapped catalogue on their next collection, which runs within six hours, or now with Collect now. Expect new findings, and a benchmark view whose controls read “not assessed” until then. See Cloud posture.
- More checks read evidence after the upgrade. As of 2026-10-29 the collectors read 170 of the 255 provider checks (60 of 83 AWS, 47 of 83 Azure, 63 of 89 Google Cloud). Checks that read “not assessed” before can pass or fail on the next collection, so expect new findings.
- Review the AWS role’s policy. The onboarding policy now lists exactly the actions the collector calls; an older role that lacks one makes the checks that need it “not assessed” and names the refused read, rather than passing. See Read-only access to grant.
Kubernetes
- Admission now fails closed by default for new clusters. A cluster
connected after this upgrade gets
failure_mode: "closed", and thetrustivan-admissionHelm chart’s webhook defaults tofailurePolicy: Fail. When TRUSTIVAN cannot answer, a workload is refused in every namespace exceptkube-systemand the chart’s own, so a TRUSTIVAN outage stops deployments there until it answers again. Existing clusters keep their mode; nothing changes for them until you change it. To keep admitting during an outage on a new cluster, setfailure_mode: "open"onPUT /api/v1/kubernetes/clusters/{id}/admissionandfailurePolicy=Ignorein the chart. See Admission webhook. - Clusters are checked against the Kubernetes posture catalogue on their next collection, which runs within six hours or now with Collect now. Expect new findings on each cluster asset, and benchmark views whose control-plane, etcd and node sections always read “not assessed”, because the collector reads the API server only. See Kubernetes posture.
- The untrusted-registry check is not assessed until you set a list of
trusted registries on the cluster’s page or with
PUT /api/v1/kubernetes/clusters/{id}/registries. Admission reads the same list.
Vulnerability management
- Priorities move on the next scan. The risk model is now
risk-v3: a package an image’s entrypoint cannot load scores lower (× 0.7) but stays listed. See Reachability. - Base-image counts read “unknown” until an image is rescanned, because layer attribution is recorded at scan time. See Base-image advice.
- SLA views are empty until you set targets. There are no default targets. See SLA views.
- Column choices are per browser. The flat findings table’s Columns
choice is kept in the browser, not on the account, and a saved view is its
link. An asset’s open tab is in the URL (
?tab=). See Work the backlog.
Dynamic scanning (DAST)
- New: dynamic scans of web applications and APIs you have verified. Nothing is scanned until someone adds a target and proves ownership with a DNS record or a file. See Add and verify a DAST target.
- Private targets stay refused by default. To scan applications on your
own network, set
DAST_ALLOW_PRIVATE_TARGETS=trueon the api, the worker anddast-egress. Link-local and metadata addresses stay refused. See Dynamic scanning.
Before you deploy
- Set
BACKUP_PUBLIC_KEY, or opt out in writing. An unset key used to mean a plaintext dump and a warning.backup.sh, and so the nightly timer and the backup step ofdeploy.sh, now refuses and writes nothing.BACKUP_ALLOW_UNENCRYPTED=trueis the only opt-out. See Backup and recovery. - Read your environment file. The production Compose file used to pass
about thirty variables to the containers and drop the rest. It now passes
every setting the backend reads, so values that were written there and never
reached a process (key rotation, the
DB_pool bounds, tracing, sign-in providers, Stripe) take effect on this deploy. See Production Compose. - Expect
postgresandredisto be recreated once. Every service now runs read-only, with no capabilities and as a non-root user, and every third-party image is pinned by digest. Volumes keep their data.
What changes
- Rolling back no longer runs migrations.
rollback.shrecreates only the services whose image changes, with--no-deps. Before, a rollback after a deploy that carried a migration leftapiandworkerunstarted.deploy.shandrollback.shtakeDEPLOY_SERVICESandDEPLOY_POST_UP_HOOK. See Upgrades. - The API’s shutdown is bounded. It waits at most 20 seconds for open
connections; the
apiservice’s stop grace period is 30 seconds. Seeapi. - Backups report themselves. Every run of
backup.shandrestore-drill.shwrites its result metrics, so the backup alerts have a series to read.
Added
- An opt-in monitoring profile runs Prometheus with the 19 shipped alert
rules, Alertmanager, a provisioned Grafana and a textfile node-exporter, on
loopback only. Grafana refuses to start without
GRAFANA_ADMIN_PASSWORD. See Observability. - Log lines carry
trace_idandspan_idof the span they were written in, whether or notOTEL_EXPORTER_OTLP_ENDPOINTis set. See Observability.