Engineering guide · Architecture
ICAM Assurance Architecture Rubric
On this page
Mandatory Acceptance PropertiesEnforcement OrderingCompatibility Without Inherited WeaknessAtlas measures ICAM architecture by independently testable security and reliability properties. API breadth is necessary, but a route does not count as complete until its authority, storage, enforcement, and evidence boundaries are explicit.
This rubric is also the meaning of an architectural comparison. Atlas can show a stronger property when a test and implementation artifact prove that property. It does not turn an implementation choice into an unbounded claim that every deployment is better than every alternative.
Mandatory Acceptance Properties
| Property | Required architecture | Required proof |
|---|---|---|
Tenant and authority isolation |
Derive the tenant and actor from authenticated context. Scope every key, query, uniqueness rule, idempotency record, counter, replay nonce, and evidence event to that tenant. Never trust a body-supplied tenant as authority. |
Cross-tenant negative tests at the service and real PostgreSQL boundary. |
Least authority |
Separate read, administration, activation, approval, and enforcement capabilities. Human administrative operations require the configured assurance and authentication-freshness floor. Workload credentials receive the smallest resource and action set needed. |
Authorization-denial tests for the wrong actor, scope, resource, AAL, and freshness. |
Secret and key custody |
Persist secret references or public verification material, not reusable plaintext credentials. Return one-time values only over a no-store response. Resolve secret references through the deployment’s approved custody boundary. |
Storage inspection and response/log leakage tests. A configuration API must reject secret-like input. |
Safe lifecycle |
New providers, credentials, rules, and enforcement policies begin inactive. Activation is a separate operation by an independently authorized actor. Revocation and disabling take effect before new work is admitted. |
State-machine, same-actor separation, stale-write, and revocation-race tests. |
Concurrency and replay safety |
Use durable atomic compare-and-swap, insert-if-absent, or database constraints for single-use artifacts and distributed admission decisions. Node-local locks are an optimization, not the source of truth. |
Race tests plus a multi-instance or direct concurrent PostgreSQL test. |
Idempotent mutation |
Bind an idempotency key to tenant, actor, operation, resource, and canonical request digest. Replays return the original result; key reuse with a changed request is rejected. |
Same-request replay, conflicting-reuse, and cross-actor/cross-tenant tests. |
Fail-closed enforcement |
An unavailable or ambiguous authority cannot become an allow decision.
|
Dependency-failure tests for every enforcement call site. |
Privacy minimization |
Persist only the context needed for a decision. Prefer stable opaque identifiers or keyed hashes for evidence and metrics; do not copy raw credentials, challenge answers, session tokens, or unnecessary device/network telemetry. |
Schema and evidence inspection plus redaction tests. |
Evidence integrity |
Record actor, tenant, action, resource, decision, policy/config revision, reason code, trace identifier, and time in an append-only authority. Evidence must be emitted for both allowed and denied sensitive paths without containing secrets. |
Immutable-history, correlation, and rollback/restart tests. |
Bounded operation |
Bound request size, time, pagination, retries, concurrency, challenge TTLs, counter windows, and retained evidence. Return deterministic retry and reset metadata where a caller can safely retry. |
Boundary, exhaustion, timeout, and cleanup tests. |
Contract clarity |
Publish OpenAPI for HTTP and protobuf contracts for gRPC. Document authentication, authorization, assurance, concurrency, idempotency, persistence, evidence, failure behavior, and compatibility differences. |
Contract tests, generated-route coverage, and a successful Antora build. |
Deployment-real verification |
Exercise migrations and durable behavior against the same PostgreSQL and service boundaries used by the Docker environment. Vendor or protocol claims remain partial until a conformance fixture or accepted external integration proves them. |
Integration-tag compile on every change and a capacity-controlled Docker run before validation status is granted. |
Enforcement Ordering
Controls run in an order that does not expose a more sensitive oracle:
-
bound and parse the request;
-
resolve the direct or previously trusted-proxy network peer;
-
apply network-zone and bot-defense admission before checking a password, certificate, recovery factor, or MFA value;
-
authenticate a workload credential cryptographically;
-
derive the tenant, actor, credential, scopes, and assurance from the verified credential;
-
apply tenant and principal quotas before invoking the business handler;
-
authorize the action and resource;
-
perform the idempotent, concurrency-safe mutation;
-
commit audit/evidence with the state transition;
-
return a redacted result and deterministic retry metadata.
An advisory risk or behavior signal may strengthen a decision. It cannot bypass a mandatory authentication, authorization, assurance, network, replay, or storage control.
Compatibility Without Inherited Weakness
Atlas uses familiar resource names, HTTP methods, pagination, error semantics, and authentication syntax where that reduces migration cost. Compatibility is not required to preserve a weaker credential format, ambiguous tenant selection, node-local replay state, mutable audit history, implicit fail-open behavior, or plaintext secret storage.
When Atlas intentionally differs, the developer guide must state the difference next to the route and provide a migration example.