Skip to content

Security architecture ​

IDVIZE connects to customer identity and security platforms, reads their state, and can make changes through approved agents. A breach of IDVIZE is a breach of every customer at once. This page describes the security model the platform is built to.

Tenant isolation ​

Every record belongs to one tenant. The database enforces this with PostgreSQL row-level security (RLS): each request sets the caller's tenant from the verified token, and RLS policies prevent any query from crossing the boundary.

LayerMechanism
APIJWT tenantId claim, validated and injected by middleware
DatabaseSET LOCAL per transaction; RLS on every tenant-scoped table
Test24 dedicated cross-tenant probe files verify isolation across all modules
CacheIn-memory caches partitioned by tenantId

Known limitation

The application pool connects as the table owner for migration convenience. RLS is enforced for the restricted application role; the owner role is used only for schema migrations.

Authentication ​

Today, users sign in to IDVIZE and receive an IDVIZE-issued access token (a JWT signed with HS256 and a per-deployment secret). IDVIZE validates every access token server-side on every request: signature, issuer, audience, expiry and clock tolerance. Sign-in through your organisation's own identity provider (OAuth 2.0 / OpenID Connect) is planned, not yet available; see below.

  • Token validation: HS256 only, with configurable clock tolerance (30 seconds)
  • Session management: Server-side revocation list, persisted to PostgreSQL, hydrated on startup
  • API keys: Per-request X-Api-Key header for machine-to-machine integration

Planned

Migration from IDVIZE-issued tokens to customer authorization servers (Entra External ID) is in progress.

Authorisation ​

Every API request is checked twice:

  1. Token scopes — what the client application may ask for
  2. User permissions — what the person may do, determined by their role
RoleScope
PlatformAdminFull platform administration
ManagerApprovals, team oversight, tenant configuration
ArchitectControl baselines, automation policies, architecture
BusinessAnalystRead-only reporting, value metrics
EngineerExecution, integration configuration
DeveloperRead-only API access

100 fine-grained permissions are enforced by requirePermission middleware across all modules (cost, applications, controls, build, integrations, documents, approvals, security, accounts, ingestion, commercial, vendors, secrets, tenants, risks, agents, email, identity governance, OS, SoD, network). Self-approval is blocked: a person cannot approve their own change.

Agent execution safety ​

IDVIZE agents only plan. A person approves every run. The safety model:

SafeguardDescription
Allowlisted actionsOnly actions in the action catalogue may execute. Unknown action types are refused
Plan lockThe plan is cryptographically hashed at approval. Execution runs the approved plan exactly
Approval expiryApprovals expire when conditions change: the gap closes, the control is set aside, the automation policy changes, or blast radius escalates
Scoped credentialsEach action type maps to minimum required platform scopes. Missing scopes are a refusal
Bounded batchesPlans with more than 3 steps are batched with halt thresholds (consecutive failures, failure rate)
Stop conditionsThe orchestrator pauses on threshold breach rather than failing, so a human reviews partial results
Recovery modelEvery action type is classified as reversible, restorable or irrecoverable. Recovery plans are generated automatically
Independent verificationAfter execution, a deferred re-read confirms the change persisted. Disagreements are recorded and alerted
Policy re-evaluationThe automation policy is re-read immediately before execution, not cached from planning time

Known limitation

All platform adapters currently operate in mock mode. No live provider credentials are configured, so posture verification answers unknown for every control. The first observed verdict requires a real provider connection.

Credential handling ​

Customer platform credentials are referenced by handle and never exposed to users, the AI or logs.

  • At rest: AES-256-GCM encryption in the per-tenant credential store
  • In transit: TLS between IDVIZE and every external platform
  • Vault integration: Ten vault adapters (Azure Key Vault, AWS Secrets Manager, CyberArk PVWA, CyberArk Conjur, HashiCorp Vault, Delinea Secret Server, Google Secret Manager, Akeyless, 1Password Connect, mock) with per-connector credential references resolved from the customer's vault at runtime
  • Vault isolation: Per-tenant vault connection configuration, encrypted at rest with AES-256-GCM (separate from the credential values themselves)

AI safety ​

IDVIZE uses AI (Claude) for cost analysis, security governance narrative and plan review.

RuleEnforcement
Ingested content is data, not instructionsPrompt construction separates system instructions from user-provided content
Every citation must resolve to stored evidenceUnsupported claims are marked as needing validation
AI-inferred requirements are not confirmedA person must validate before they become a control requirement
Token spend is meteredPer-tenant, per-capability, per-action attribution in the AI usage ledger

Audit ​

Every sign-in decision, approval, change and AI generation is recorded with who did it, in which tenant and what changed.

  • Append-only: REVOKE UPDATE, DELETE ON audit_logs enforced at the database level
  • Hash chain: Each record carries a cryptographic hash of its content and a reference to the previous record's hash, forming a tamper-evident chain
  • Channel separation: Audit writes are confined to security/audit/; diagnostic logging is separate. Enforced by a CI governance check

Detection coverage transparency ​

IDVIZE distinguishes what it has verified from what it has not. Every control verdict carries one of four evidence bases:

BasisMeaningWeight
ObservedRead from a live platform APIStrongest — the platform saw the state
InferredDerived from available data without a live readUseful, but not direct evidence
DeclaredA human stated the control is in placeWeakest automated basis — depends on human accuracy
UndeterminableThe platform could not verifyReported honestly; never hidden or counted as a failure

Coverage and compliance are reported with separate denominators:

  • Coverage = assessed / in scope (how many controls the platform could evaluate)
  • Compliance = satisfied / assessed (of those evaluated, how many are met)

A tenant with 20% coverage and 90% compliance knows that most of its estate is unassessed, even if what was assessed looks healthy. This prevents the false confidence PR-0002-F7 identifies: zero gaps when the platform has not looked.

What detection requires ​

Each platform adapter reads specific APIs. When credentials are absent or permissions insufficient, the adapter returns unknown with the reason (not gap). The following table shows what each adapter reads:

PlatformIdentity/account sourceAccess/entitlement sourcePolicy sourceCredential for detection
Microsoft Entra IDGraph /users, /servicePrincipalsGraph /groups, /directoryRoles, PIM schedule instancesConditional Access /policies, custom authentication strengthsApplication registration with delegated or application permissions
Workday HCMRaaS custom report (Employee_ID, status, termination date)——Integration System User
ServiceNow CMDBCMDB /now/table/cmdb_ci_service (applications)——Integration user with CMDB read access
SailPoint IdentityNowIdentities, accountsEntitlements, access profiles, roles—Personal access token or OAuth client
CyberArk—Privileged accounts, safes—PVWA session or Conjur API key
OktaUsers, groupsApplications, app assignmentsAuthentication policies, sign-on policiesAPI token with read scopes

Current state

All platform adapters operate in mock mode. No live provider credentials are configured, so every verdict basis is inferred or undeterminable. The first observed verdict requires a real provider connection. This is tracked as an external dependency (WS5).

Reporting a vulnerability ​

See Vulnerability disclosure.