Appearance
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.
| Layer | Mechanism |
|---|---|
| API | JWT tenantId claim, validated and injected by middleware |
| Database | SET LOCAL per transaction; RLS on every tenant-scoped table |
| Test | 24 dedicated cross-tenant probe files verify isolation across all modules |
| Cache | In-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-Keyheader 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:
- Token scopes — what the client application may ask for
- User permissions — what the person may do, determined by their role
| Role | Scope |
|---|---|
| PlatformAdmin | Full platform administration |
| Manager | Approvals, team oversight, tenant configuration |
| Architect | Control baselines, automation policies, architecture |
| BusinessAnalyst | Read-only reporting, value metrics |
| Engineer | Execution, integration configuration |
| Developer | Read-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:
| Safeguard | Description |
|---|---|
| Allowlisted actions | Only actions in the action catalogue may execute. Unknown action types are refused |
| Plan lock | The plan is cryptographically hashed at approval. Execution runs the approved plan exactly |
| Approval expiry | Approvals expire when conditions change: the gap closes, the control is set aside, the automation policy changes, or blast radius escalates |
| Scoped credentials | Each action type maps to minimum required platform scopes. Missing scopes are a refusal |
| Bounded batches | Plans with more than 3 steps are batched with halt thresholds (consecutive failures, failure rate) |
| Stop conditions | The orchestrator pauses on threshold breach rather than failing, so a human reviews partial results |
| Recovery model | Every action type is classified as reversible, restorable or irrecoverable. Recovery plans are generated automatically |
| Independent verification | After execution, a deferred re-read confirms the change persisted. Disagreements are recorded and alerted |
| Policy re-evaluation | The 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.
| Rule | Enforcement |
|---|---|
| Ingested content is data, not instructions | Prompt construction separates system instructions from user-provided content |
| Every citation must resolve to stored evidence | Unsupported claims are marked as needing validation |
| AI-inferred requirements are not confirmed | A person must validate before they become a control requirement |
| Token spend is metered | Per-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_logsenforced 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:
| Basis | Meaning | Weight |
|---|---|---|
| Observed | Read from a live platform API | Strongest — the platform saw the state |
| Inferred | Derived from available data without a live read | Useful, but not direct evidence |
| Declared | A human stated the control is in place | Weakest automated basis — depends on human accuracy |
| Undeterminable | The platform could not verify | Reported 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:
| Platform | Identity/account source | Access/entitlement source | Policy source | Credential for detection |
|---|---|---|---|---|
| Microsoft Entra ID | Graph /users, /servicePrincipals | Graph /groups, /directoryRoles, PIM schedule instances | Conditional Access /policies, custom authentication strengths | Application registration with delegated or application permissions |
| Workday HCM | RaaS custom report (Employee_ID, status, termination date) | — | — | Integration System User |
| ServiceNow CMDB | CMDB /now/table/cmdb_ci_service (applications) | — | — | Integration user with CMDB read access |
| SailPoint IdentityNow | Identities, accounts | Entitlements, access profiles, roles | — | Personal access token or OAuth client |
| CyberArk | — | Privileged accounts, safes | — | PVWA session or Conjur API key |
| Okta | Users, groups | Applications, app assignments | Authentication policies, sign-on policies | API 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).