Audit season turns senior engineers into document typists: mapping SOC 2 / ISO 27001 controls to configurations, writing evidence narratives, and producing change-management records that say what the git history already knows.
Tier: Core · Hands-on time: ~50 minutes
AI is well suited to the drafting — your IaC, policies, and pipeline configs are exactly the evidence — but auditor-facing text has a hard rule: every sentence must be traceable to an artifact, and a human signs every page. This playbook also covers keeping architecture descriptions generated from live IaC, so evidence describes reality instead of last year's diagram.
Skip AI for evidence that is a raw artifact (a screenshot of MFA settings, an access-review export) — narrating it adds risk, not value.
Build the control-to-artifact map first. For each in-scope control, list which repos/files/configs demonstrate it. Use an AI coding assistant over your infra repos to propose the map ("which files here implement encryption-at-rest, access control, change approval?"), then correct it — you know where the bodies are buried.
Draft narratives with citation discipline.
Control: [paste control text, e.g. "CC8.1 — changes are authorized,
tested and approved prior to implementation"].
Attached artifacts: branch-protection settings JSON, sample PR with
approvals, CI pipeline config, CD approval-gate config.
Draft an auditor-facing narrative (150-250 words) describing how our
process satisfies this control. Rules:
- Every claim must cite one of the attached artifacts [in brackets].
- Describe only what the artifacts show. No aspirational language
("we ensure", "robust") without an artifact behind it.
- If the artifacts do NOT fully cover the control, add a GAPS section
instead of papering over it.
Treat the GAPS section as the real finding. The draft's most valuable output is where artifacts do not cover the control — fix the gap or scope the narrative honestly. An overclaiming narrative is the thing auditors are trained to catch.
Generate architecture evidence from live IaC. Point the assistant at your Terraform/K8s state or code: "produce a Mermaid diagram and a one-page description of network boundaries, data stores, and encryption, citing the resource blocks." Verify against a terraform plan-fresh repo, spot-check three resources, and commit the diagram source next to the IaC so it regenerates on change instead of rotting.
Automate change-management records at the PR. Add a pipeline step (or PR template + AI assist) that drafts the change record from the diff and PR metadata: summary in change-board language, risk class, rollback plan, evidence links (plan output, approvals). The approver edits and confirms — the record is born with the change, not reconstructed at audit time.
Assemble and human-sign. Compile narratives + artifact links into the evidence package. The control owner reads each narrative against its artifacts before sign-off. Log AI involvement if your client/auditor asks about AI use in documentation — some now do.
Auditors accept AI-drafted narratives; they do not accept unverifiable ones. Citation-per-claim is what turns generated text into evidence.
Never let an AI answer a security questionnaire from its own knowledge of "typical" practice — every answer describes your artifacts or it does not ship.