← SecurityX/CASP+: architecture and secure operations
04 / 21 · 155 MIN

Identity, zero trust, and cloud

Design resource-specific authorization and explicit responsibilities.

Concept and mechanism

Zero trust reduces implicit confidence based on location or ownership. A VPN or managed workstation may contribute to assessment but does not authorize every action. Distinguish identity, posture, resource, action, and context.

An mTLS-authenticated session can still lack permission for the requested tenant. Design needs enforcement points on actual paths, with enough records to understand grants and denials. It also needs failure behavior: decision-service unavailability should not produce indefinite global permission or a policy improvised during an incident.

Define cached-decision validity, resource-specific restrictions, and tested recovery.

Guided application

In a fictional EC2 service, the team remains responsible for the guest operating system despite AWS-managed hardware. Record who patches and who verifies outcomes. For a short intervention, bind privilege elevation to the request, limit duration and scope, and retain traceability.

In a FinOps integration, a multi-customer supplier can become a confused deputy if it accepts role references without distinguishing customers. ExternalId should be unique across its customers and supplier-controlled, applied in the trust policy and matching request.

It is not a password or a replacement for least privilege. Acceptance testing should show that the correct customer can access what is needed and another context cannot use the same delegation.

Separate decision, distribution and enforcement

During an architecture review, avoid representing zero trust as one purchased box. Identify who gathers attributes, computes the decision, distributes policy and applies it to the particular request. A decision point might conclude that an export is prohibited; the result protects data only if the enforcement point uses it before sending.

A version published in a repository does not establish the version applied across every proxy. Define receipt confirmation, configuration validation and observation of decisions along the paths that matter to the service. For an urgent change, measure publication-to-enforcement delay and handle lagging instances according to risk.

Attributes also have an origin, age and owner; stale classification or unavailable posture information requires defined behavior. The lab uses local sequential policy changes: it rejects an invalid candidate, retains v1 and records a policy version for each decision.

It does not simulate a remote PDP or guarantee atomic fleet updates. The project manager’s task is to turn these distinctions into integration criteria, acceptance evidence and operational ownership before announcing enterprise coverage. Include the paths that are deliberately outside the first deployment.

Federation establishes trust between organizations

A reconciliation application will accept staff from a partner company. Before enabling login, agree on the trusted identity provider, eligible population, required attributes and purpose of each attribute. Federated authentication can establish a session at the receiving application; it does not itself define which reports that session may read or approve.

Separate issuer trust, local account resolution and permission assignment. A matching displayed email address is insufficient grounds for automatically linking an external identity to an existing privileged account. The process must establish that identifiers belong to the same person and comply with the agreed trust relationship.

Document name changes, company mergers, duplicate accounts and alternative access methods. If the application retains a local password, disabling federation alone can leave another path available. Request enough attributes for the purpose without sending an entire profile merely for convenience.

Use fictional examples in the privacy review and exercise an eligible user, someone from another partner and an existing local account. The TLS lab does not execute enterprise federation or validate an actual identity provider; those integrations require separate evidence.

Provisioning and removing access are distinct flows

Just-in-time creation simplifies first access but does not resolve departure of a worker who already has an application account. Design joining, role changes, suspension and departure as complete flows, with an authoritative system, stable identifier, destination confirmation and error handling.

A message accepted by a queue does not establish that the change was applied. SCIM provides identity management structures and operations; the active attribute represents administrative status and its exact interpretation is service dependent.

Do not assume active=false automatically ends every session, deletes API keys and removes locally assigned permissions. Check the product contract and exercise each relevant path. Distinguish access suspension from record deletion: investigation retention may justify keeping data while blocking access, according to applicable policy.

In an exercise, the connector fails for two of five applications; work remains open for those destinations, with authorized compensation and later reconciliation. Measure expected and actual accounts, repeated failures and time until demonstrable access removal.

A green central connector status does not replace a negative access attempt in critical applications or establish that alternative access methods were handled.

Context, reauthentication and trustworthy attributes

A person authenticated on a managed laptop in the morning and attempts to approve a sensitive export in the afternoon. The design should explain whether the action’s risk requires recent authentication, an additional check or a fresh posture signal.

Continuous context does not mean requesting MFA for every packet; it means choosing assessment points and signals consistent with risk and application behavior. Identify the source and useful lifetime of each attribute. A client-supplied compliant=true header does not replace evidence from the device management service.

Nor should an old assessment remain trusted indefinitely because the laptop was compliant yesterday. Define how coverage loss is detected and which actions are restricted pending reassessment. A policy might permit low-sensitivity reading while suspending approval or export; the distinction must be explicit and testable.

Include service accounts, batch processes and suppliers, which do not necessarily follow the same interactive flow. At the committee, present context-change examples, expected decisions and business impact. These course decisions are architecture exercises; they do not establish configuration of a SASE product or conditional access engine.

Two TLS hops and a cleartext data boundary

The lab opens an HTTPS proxy and HTTPS receiver exclusively on 127.0.0.1. Each run creates a temporary CA and certificates; the client authenticates the server and presents a certificate, and the proxy does the same on a second connection to the receiver.

Missing client certificates and certificates issued by another CA fail before forwarding. These results establish transport authentication in the local environment. Because the proxy terminates the first connection to inspect JSON, it sees cleartext in process memory.

The second connection protects another path; it does not make the proxy unable to read the message. Process privileges, key access, diagnostics, dumps and logs therefore belong within protection of that boundary. The receiver accepts the specific proxy certificate so the operator client cannot use the destination directly.

This is an explicit local contract without dynamic discovery or enterprise identity management. Evidence records negotiated protocols and receipt counts, not private keys. Online revocation, interruption-free rotation, hardware inspection and throughput guarantees were not exercised.

Cleanup removes temporary certificates and closes both listeners at the end of every successful run.

Exercise permitted, prohibited and unavailable paths

Boundary acceptance requires more than observing one successful request. In the lab, begin with an allowed public aggregate and confirm one downstream receipt. Then attempt confidential data to the public destination, a client-invented classification field, an unknown destination and direct receiver access.

The expected result combines the client response with absence of a new receipt: a late error code could conceal transmission that already happened. The unavailability check actually stops the downstream server; the proxy returns failure and does not declare delivery.

This does not implement a durable queue or establish that retrying would be safe. In a real service, retry, idempotency and reconciliation decisions need their own contract. Retain the policy version associated with the decision and avoid placing sensitive bodies in audit logs.

The team must also exercise routes beyond this lab, such as administrative exports, scheduled jobs and emergency connections. A test list should identify prerequisites, observations, ownership and limits. Two repeated local runs provide reproducible evidence for the demonstrated mechanism without turning the exercise into enterprise architecture certification or proving complete application coverage.

Exercise files

Exercise package securityx-architecture-contracts, version 2026-10. Extract into a new directory and follow README.en.md. The commands’ content/labs paths are available from the extracted directory. Python 3.13, OpenSSL 3.6.5 on PATH and permission for two temporary TLS servers on 127.0.0.1. Use a fresh output directory.

Download securityx-architecture-contracts (ZIP)

SHA-256 (ZIP)

d880c004d0f189774f4402bb097544f849fb6ad187f22498ed89dcae516466b1

# Original local loopback lab; synthetic data only. Requires Python 3 and openssl on PATH.
# Use a NEW directory: existing output directories are refused.
python3 content/labs/securityx-architecture-contracts/run.py --output /tmp/securityx-architecture-fresh-run
# Expected: 33 checks, 5 received synthetic exports; listeners/threads/temporary keys removed.
# No cloud, production DLP, fleet propagation, online revocation or disk sanitization.
IN PRACTICE

Confirmed identity + wrong tenant = authorization still unmet.

Common pitfalls

VPN as global authorization; mTLS as universal access; shared ExternalId; undifferentiated cloud responsibility.

Related topics: Governance, risk, and exceptions · Suppliers, data, and threats · Resilience and recovery dependencies · Architecture and acceptance · Evidence and operational limits

Take this idea with you

Document who decides, who enforces, and how failure is handled. Connect requirements, decision origin, path enforcement and evidence with explicit limits.

Create account

References

CompTIA® and CASP+ are trademarks or registered trademarks of CompTIA, Inc. bigsavant.com is an independent preparation platform and is not affiliated with, associated with, sponsored, authorised or endorsed by CompTIA. Content and questions are original, are not official exam questions, and completing our tests does not award or guarantee any certification. Names are used only to identify the subject. All other trademarks belong to their respective owners.