Architecture as Code · Module 3 · Security, Governance & Assurance

Compliance and Regulatory Adherence

The lesson covers the organisational and process side of compliance. It presents the five-stage compliance loop from regulatory intelligence to governance reinforcement, the role of AI as a triage layer under human oversight, requirements traceability from regulatory statement to test, the Control Mapping Matrix with the worked control SEC-ID-001, compliance for serverless and edge workloads, and the forward-looking topics the chapter marks as speculative.

Lesson 15 of 31Chapter 1260 minutes

Read the chapterThe whitepaperThe slides

All courses / Architecture as Code / Module 3 / Chapter 12

Learning objectives

After the lesson the participant can:

Key concepts

Compliance loop
A closed feedback loop of five stages: regulatory intelligence, policy template creation, automated control execution, monitoring and evidence collection, and governance reinforcement, which informs the next cycle of regulatory intelligence.
Control Mapping Matrix
One reusable matrix that links each control identifier to the assurance artefacts captured in CI and to the external frameworks they satisfy, replacing bespoke spreadsheets for each framework.
Requirements traceability
Demonstrable links from business, compliance, performance and cost requirements to functional controls such as encryption, network segmentation and audit logging, to the Terraform configuration that implements them and the test suites that validate them.
AI as a triage layer
An AI compliance engine that ingests telemetry, policy breaches and regulator feedback to classify incidents, enrich them with evidence and recommend automation or escalation paths, with human oversight in the loop.
Crypto-agility baseline
A configuration that still relies on classical algorithms but keeps keys and certificates rotatable, so that post-quantum alternatives can be adopted when services expose them. The chapter files quantum readiness under speculative considerations.

Interactive exercises

Do them here and get feedback at once. Choose a card and then where it belongs, or drag it.

Interactive exercise 1 · Put in order

The compliance loop

Put the five stages of the compliance loop in order, starting with the stage that takes in new legislation.

Interactive exercise 2 · Scenario

A new framework arrives

Read the situation and choose what the chapter's reasoning leads to. Each choice gives feedback.

Teaching plan

15 minTeacher presents the compliance loop stage by stage, with activities, outputs and feedback mechanisms.
10 minWork through the matrix row for SEC-ID-001: which artefacts, which framework references, and what the Internal column records.
10 minTeacher covers traceability, the AI triage layer, serverless and edge controls, and the two topics marked speculative.
20 minExercise: participants build three rows of a Control Mapping Matrix for their own organisation.
5 minClose with the bridge to evidence: the matrix references artefacts that the pipeline must actually produce.

Discussion

  1. Which stage of the compliance loop is weakest in your organisation, and what breaks downstream because of it?
  2. The chapter limits the AI layer to triage and keeps human oversight in the loop. What tasks would you be comfortable assigning to it, and which not?
  3. What is gained by labelling quantum readiness and sustainability as speculative instead of writing them into today's control baseline?

Written exercise

Exercise · 20 minutes

Three rows of a Control Mapping Matrix

Build a small Control Mapping Matrix for your own organisation using the chapter's columns: control identifier, control title, assurance artefacts, the external frameworks your organisation must satisfy, and the internal catalogue entry. Write three rows for three different controls, for example multi-factor authentication for human identities, encryption at rest and audit logging. For every row name the artefact a pipeline could generate as proof and where it would be stored. Use only framework references you can verify in your organisation's own control catalogue; where you cannot verify a reference, leave the cell marked as to be confirmed instead of guessing. Then trace one row backwards to the requirement it serves and forwards to the test that validates it.

Deliverable: A three-row matrix with artefacts and verified or to-be-confirmed framework references, plus one written trace from requirement to verification.

Self-test

Choose an answer to see whether it is right, or open the answer below each question.

  1. Which control does the worked matrix row SEC-ID-001 record?

    Show the answer

    A. Enforce MFA for human identities
    SEC-ID-001 is titled Enforce MFA for human identities. Its policy module and evidence pipeline execute once and satisfy several attestations, with IAM-01 as the internal catalogue entry.

  2. What closes the compliance loop in the chapter's model?

    Show the answer

    C. Governance reinforcement informs the next regulatory intelligence cycle
    The fifth stage, governance reinforcement, produces updated policies, remediation plans and training, and the loop closes as governance informs the next regulatory intelligence cycle.

  3. How does the chapter characterise its section on quantum computing readiness and green computing?

    Show the answer

    B. As forward-looking, exploratory guidance and not current-state requirements
    The section is headed as speculative and says the topics are exploratory, to be treated as forward-looking guidance rather than current-state requirements.