{
  "acqVersion": "0.1.0",
  "gecVersion": "0.1",
  "scoringRule": "Score each control at the level it operates today. Partial coverage scores at the weakest in-scope system. An answer that cannot name an artifact caps the control at Level 2.",
  "targetProfiles": {
    "critical": {
      "definition": "Holds your production data or credentials, or sits in your deployment path",
      "rule": "Level 3+ on all controls; Level 4+ on GEC-03, GEC-06, GEC-09, GEC-10, GEC-13",
      "minimumLevels": {
        "GEC-01": 3,
        "GEC-02": 3,
        "GEC-03": 4,
        "GEC-04": 3,
        "GEC-05": 3,
        "GEC-06": 4,
        "GEC-07": 3,
        "GEC-08": 3,
        "GEC-09": 4,
        "GEC-10": 4,
        "GEC-11": 3,
        "GEC-12": 3,
        "GEC-13": 4
      }
    },
    "high": {
      "definition": "Processes regulated data or integrates with production systems",
      "rule": "Level 3+ on GEC-01, GEC-02, GEC-03, GEC-06, GEC-09, GEC-10",
      "minimumLevels": {
        "GEC-01": 3,
        "GEC-02": 3,
        "GEC-03": 3,
        "GEC-06": 3,
        "GEC-09": 3,
        "GEC-10": 3
      }
    },
    "moderate": {
      "definition": "Business data, no production access",
      "rule": "Level 2+ across the board; Level 3+ on GEC-03 and GEC-09",
      "minimumLevels": {
        "GEC-01": 2,
        "GEC-02": 2,
        "GEC-03": 3,
        "GEC-04": 2,
        "GEC-05": 2,
        "GEC-06": 2,
        "GEC-07": 2,
        "GEC-08": 2,
        "GEC-09": 3,
        "GEC-10": 2,
        "GEC-11": 2,
        "GEC-12": 2,
        "GEC-13": 2
      }
    },
    "low": {
      "definition": "No sensitive data or access",
      "rule": "Score for awareness; no gate",
      "minimumLevels": {}
    }
  },
  "controls": [
    {
      "id": "GEC-01",
      "name": "Infrastructure as Code Governance",
      "objective": "All production infrastructure is defined in version-controlled code, peer reviewed, and scanned for policy violations before deployment, with no production resources created or modified through cloud consoles.",
      "statement": "Production infrastructure is created and changed only through version-controlled code that is peer reviewed and policy-scanned before it deploys, and changes made outside that code are blocked or detected.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Infrastructure is created in the AWS or Azure console by whoever needs it. Some Terraform or Bicep exists but nobody trusts it to match production. Recovery from an outage depends on the person who built the environment.",
          "evidence": "CloudTrail or Azure Activity Log entries showing RunInstances or Microsoft.Compute writes attributed to human console sessions, plus whatever partial IaC repo exists."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "A written standard says new infrastructure goes through code, and teams mostly follow it. Templates exist for common resources. Scans (tfsec, Checkov) are run manually before big deploys. Console changes still happen and are reconciled by hand.",
          "evidence": "The written IaC standard, a sample Terraform repo, and a manually produced tfsec or Checkov scan report with a date."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "All new production infrastructure is defined in Terraform, CloudFormation, Bicep, or Pulumi in version control with required pull request review. IaC scanning runs automatically in at least one pipeline. Some legacy resources remain unmanaged and are inventoried as gaps.",
          "evidence": "A merged pull request for a recent production infrastructure change showing reviewer approval and a passing IaC scan check, plus the documented list of resources not yet under IaC."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "IaC covers all in-scope production accounts and subscriptions. Console write access is removed or restricted to break-glass roles. Drift detection (AWS Config rules, Azure Policy, driftctl, or plan-on-schedule) alerts within minutes when live state diverges from code. Scan results and PR approvals are the audit evidence, generated as a byproduct. Exceptions live in a tracked register with expiry dates.",
          "evidence": "IAM policy or Azure RBAC assignment JSON showing console write access limited to a break-glass role, a drift alert (AWS Config non-compliant resource notification or driftctl output) with its resolution timestamp, and the exception register with expiry dates."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Coverage, drift frequency, and exception age are metrics on a dashboard reviewed monthly. Repeated drift patterns trigger module or policy improvements. The team can answer \"show every production infrastructure change in the last 12 months and who approved it\" with a single Git query.",
          "evidence": "The coverage and drift dashboard, minutes or tickets from the monthly review, and the output of a query listing 12 months of production changes with authors and approvers."
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "PR.PS-01, PR.PS-06 (platform and development lifecycle security), GV.PO-01 (policy establishment), ID.AM-01 (asset inventory via code)",
        "SOC 2": "CC8.1 (change management), CC6.8 (unauthorized software and configuration), CC7.1 (configuration monitoring for vulnerabilities)",
        "ISO 27001:2022": "A.8.9 (configuration management), A.8.32 (change management), A.8.28 (secure coding)"
      },
      "questions": [
        {
          "id": "ACQ-01.1",
          "text": "What percentage of production cloud resources are defined in infrastructure as code, and how is that number calculated?",
          "evidence": "The query or report that produces the percentage, with its run date."
        },
        {
          "id": "ACQ-01.2",
          "text": "What detects a production resource that is created or changed outside your infrastructure code (for example, in a cloud console), and how long until someone is notified?",
          "evidence": "The drift rule or scheduled plan job, and one recent alert with timestamps."
        },
        {
          "id": "ACQ-01.3",
          "text": "Which checks must pass before an infrastructure change can merge and deploy to production?",
          "evidence": "A recent merged infrastructure pull request showing its required reviews and checks."
        },
        {
          "id": "ACQ-01.4",
          "text": "Which production resources are not managed by code, and where is that list kept?",
          "evidence": "The exceptions or unmanaged-resource register, with owners and dates."
        },
        {
          "id": "ACQ-01.5",
          "text": "How do you produce a list of every production infrastructure change in a period, with who approved each one?",
          "evidence": "The system and query used, and how long it takes to run."
        }
      ]
    },
    {
      "id": "GEC-02",
      "name": "CI/CD Pipeline Control Gates",
      "objective": "Security and policy checks execute as blocking gates in the CI/CD pipeline, so code that fails review, scanning, or policy evaluation cannot merge to a protected branch or deploy to production.",
      "statement": "Code cannot merge to a protected branch or deploy to production unless required review, security scans, and policy checks pass in the pipeline.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Developers can push directly to main. Deploys run from laptops or shared credentials. Whether a scan happens depends on which engineer ships the change.",
          "evidence": "Git history showing direct commits to main, and deploy commands in shell history or a runbook rather than a pipeline definition."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "A documented process requires review and a scan before release, and teams follow it manually. CI runs tests but failures do not block merge. Release approvals happen in Slack or email.",
          "evidence": "The documented release process, a CI run log showing tests executed, and the Slack or email thread used to approve the last release."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "Branch protection on the default branch requires at least one review and passing status checks, all configured and visible in the repo. SAST or dependency scanning blocks merge on at least the primary product repo. Some repos or deploy paths are not yet gated and are known.",
          "evidence": "Branch protection API response (GET /repos/{org}/{repo}/branches/main/protection) showing required status checks and required reviews, plus a PR blocked by a failing check."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "Every in-scope repo has enforced branch protection with required checks, no force pushes, and admin enforcement on. Deploys run only from CI with OIDC-federated cloud credentials, no long-lived keys. Build artifacts are signed (Sigstore cosign or equivalent) and verified at deploy. Gate bypasses trigger alerts and land in a tracked exception log with expiry. Pipeline run logs are the change evidence.",
          "evidence": "Org-level ruleset export covering all repos, a pipeline run log showing OIDC token exchange instead of stored cloud keys, a cosign verify output for a production artifact, and the bypass exception log with alert timestamps."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Gate coverage, bypass counts, and mean scan-finding age are reviewed on a monthly cadence and drive gate tuning. New repos inherit gates from an org-level ruleset automatically. The team can answer \"which production deploys in the last 12 months bypassed a required check\" with one query against pipeline and audit-log data.",
          "evidence": "The gate-coverage and bypass-rate dashboard, monthly review notes with a resulting gate change, and query output listing 12 months of deploys with their check results."
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "PR.PS-06 (secure development lifecycle), PR.AA-05 (access enforcement for merge and deploy), DE.CM-09 (monitoring of software and pipelines)",
        "SOC 2": "CC8.1 (change authorization and approval), CC6.1 (logical access to the deployment path), CC7.1 (vulnerability detection in the pipeline)",
        "ISO 27001:2022": "A.8.32 (change management), A.8.28 (secure coding), A.8.25 (secure development lifecycle), A.8.4 (access to source code)"
      },
      "questions": [
        {
          "id": "ACQ-02.1",
          "text": "What does branch protection or a ruleset enforce on your primary product repositories (required reviews, required checks, force-push blocking, admin enforcement)?",
          "evidence": "An export of the ruleset or branch protection settings."
        },
        {
          "id": "ACQ-02.2",
          "text": "How does your deploy pipeline authenticate to your cloud providers? List any long-lived keys it still uses and their age.",
          "evidence": "The OIDC trust configuration, or the key inventory with creation dates."
        },
        {
          "id": "ACQ-02.3",
          "text": "In the last 90 days, how many merges or deploys bypassed a required check, and where is each bypass recorded?",
          "evidence": "The audit log query and its result count."
        },
        {
          "id": "ACQ-02.4",
          "text": "How do you verify that the artifact running in production is the one your pipeline built?",
          "evidence": "The signing and verification step (for example, cosign) and a recent verification log."
        },
        {
          "id": "ACQ-02.5",
          "text": "What is the documented path for shipping an urgent fix when a required check is failing or unavailable, and how is each use reviewed afterward?",
          "evidence": "The written procedure and the record of its last use."
        }
      ]
    },
    {
      "id": "GEC-03",
      "name": "IAM as Code",
      "objective": "Identities, roles, and access grants are defined in version-controlled code, provisioned and revoked automatically through the joiner-mover-leaver lifecycle, and reviewed by systems that open tickets rather than circulate spreadsheets.",
      "statement": "Access to in-scope systems is granted through version-controlled code or provisioning from the identity provider, revoked automatically when a person leaves, and reviewed on a set schedule.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Access granted through admin consoles and chat requests. Grants depend on which admin is online. No consistent record of who approved what. Offboarding is a manual checklist that sometimes gets skipped.",
          "evidence": "Screenshots of admin consoles; verbal walkthrough of how the last engineer was offboarded (expect gaps between the story and system state)."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "A documented access request process exists (ticket template, named approvers) and is followed consistently, but provisioning and revocation are performed by hand in each system. Quarterly reviews run from exported spreadsheets.",
          "evidence": "The access request ticket queue with approver fields populated; last quarter's review spreadsheet with sign-off dates; the offboarding checklist for a recent leaver."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "Roles and grants for at least one major platform (e.g., AWS IAM Identity Center permission sets, Entra ID groups) are defined in Terraform or equivalent, changed via pull request with required review. Other systems still managed manually. Leaver deprovisioning automated for the IdP but not downstream apps.",
          "evidence": "The IAM Terraform repo with merged PRs showing reviewer approval on a recent role change; CI plan/apply logs; the IdP SCIM or lifecycle workflow config for leavers."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "All in-scope systems provisioned through code or SCIM from the IdP. Out-of-band grants (console edits) are detected and alerted within hours. JML events from the HRIS trigger provisioning and revocation automatically. Access reviews open tickets per finding with owners and due dates. Standing admin access replaced by JIT elevation with expiry. Exceptions are recorded with an end date.",
          "evidence": "HRIS-to-IdP integration logs showing a termination event followed by automated revocation timestamps; a drift alert for an out-of-band console grant and its remediation ticket; PIM or JIT elevation logs showing time-bound admin sessions; the exception register with expiry dates."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Coverage, drift, orphaned-account, and exception metrics reviewed on a monthly or quarterly cadence and drive backlog items. Unused entitlements are detected and proposed for removal automatically. \"Show every privileged grant in the last 12 months with its approver and revocation date\" is answerable with one query.",
          "evidence": "A dashboard or saved query returning 12 months of grant/revocation events with approvers; entitlement-usage reports feeding removal PRs; meeting notes or tickets showing metric-driven cleanup work."
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "PR.AA-01 through PR.AA-05 (Identity Management, Authentication, and Access Control), GV.RR-04",
        "SOC 2": "CC6.1, CC6.2, CC6.3 (logical access provisioning, review, and removal)",
        "ISO 27001:2022": "A.5.15, A.5.16, A.5.17, A.5.18 (access control, identity management, access rights), A.8.2 (privileged access)"
      },
      "questions": [
        {
          "id": "ACQ-03.1",
          "text": "When an employee with production access leaves, what triggers revocation in each system, and how long did each revocation take for your most recent leaver?",
          "evidence": "Lifecycle workflow logs with termination and revocation timestamps."
        },
        {
          "id": "ACQ-03.2",
          "text": "Where is a production access grant requested, approved, and recorded?",
          "evidence": "A recent grant's record showing requester, approver, and date (a pull request or access-request ticket)."
        },
        {
          "id": "ACQ-03.3",
          "text": "What detects an administrator granting access directly in a cloud or SaaS console outside the normal process, and how fast?",
          "evidence": "The detection rule and one recent alert, or a test of it."
        },
        {
          "id": "ACQ-03.4",
          "text": "Does anyone hold standing administrator access to production? If elevation is just-in-time, how is each elevation approved and logged?",
          "evidence": "The count of standing admins and a sample of the elevation log."
        },
        {
          "id": "ACQ-03.5",
          "text": "What did your most recent access review change? Give the number of access removals it produced.",
          "evidence": "Review output or tickets showing each removal and its closure date."
        }
      ]
    },
    {
      "id": "GEC-04",
      "name": "Policy as Code",
      "objective": "Organizational guardrails are codified as machine-enforced policy (cloud org controls and pipeline checks), managed in a reviewed repository, with exceptions expressed in code and bound to expiry dates.",
      "statement": "Security guardrails are enforced by machine-evaluated policy in the cloud organization and the pipeline, and every exception is recorded in code with an owner and an expiry date.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Policies exist as documents. Enforcement is whoever notices in a design review. Cloud accounts have inconsistent settings depending on who created them. Exceptions are verbal.",
          "evidence": "The policy PDF and its last-reviewed date; ask an engineer how they learned the encryption requirement (expect \"someone told me\")."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "Standards are documented with specific technical requirements (approved regions, encryption settings, tagging). Engineers apply them by hand and reviewers check manually. Findings from periodic scans are tracked in a spreadsheet or ticket queue.",
          "evidence": "The written standard with technical parameters; the finding-tracking spreadsheet or ticket filter; a sample remediation ticket with timestamps."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "Guardrails for at least one enforcement path live in a version-controlled policy repo with required PR review: SCPs or Azure Policy assignments managed via Terraform, or OPA/Rego checks running in CI. Some accounts, subscriptions, or pipelines are not yet covered. Exceptions recorded but expiry not enforced.",
          "evidence": "The policy repo with merged PRs and reviewer approvals on a recent guardrail change; the Terraform state or pipeline config showing which OUs, subscriptions, or repos the policies attach to; the list of what is not yet covered."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "Preventive controls (SCPs, Azure Policy deny effects) applied org-wide with no unmanaged accounts. Pipeline policy checks required on every infrastructure merge. New violations alert within minutes via Config rules, Azure Policy compliance events, or CI failures. Compliance evidence is the policy engine's own output, not screenshots. Every exception is a code entry with owner, justification, and expiry that CI enforces.",
          "evidence": "AWS Organizations SCP attachments or Azure Policy assignment list exported via API for every account/subscription; a CI run showing a merge blocked by an OPA/Conftest failure; an alert (EventBridge, Azure Monitor) firing on a new violation with its timestamp; the exceptions file showing owners and expiry dates."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Policy coverage, violation rates, mean time to remediate, and exception counts reviewed on a set cadence, with trends driving new guardrails. Expired exceptions auto-fail builds or auto-open removal PRs. \"Which policies fired, on what, over the last 12 months\" is answerable from the policy engine's logs with one query.",
          "evidence": "A dashboard or saved query of 12 months of policy evaluation results; an auto-generated PR removing an expired exception; meeting notes showing a violation-trend metric turning into a new deny rule."
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "GV.PO-01, GV.PO-02 (policy establishment and enforcement), PR.PS-01 (configuration management), DE.CM-09",
        "SOC 2": "CC5.2, CC5.3 (control activities via technology), CC6.8, CC7.1 (configuration monitoring)",
        "ISO 27001:2022": "A.5.1 (policies), A.8.9 (configuration management), A.8.27 (secure system architecture and engineering principles)"
      },
      "questions": [
        {
          "id": "ACQ-04.1",
          "text": "What stops an engineer with valid credentials from creating publicly accessible storage in production, and at what layer?",
          "evidence": "The preventive policy (for example, SCP, Azure Policy deny, org policy) and a recorded deny event."
        },
        {
          "id": "ACQ-04.2",
          "text": "Where are your cloud guardrails defined, and how are changes to them reviewed?",
          "evidence": "The policy repository and a recent reviewed change."
        },
        {
          "id": "ACQ-04.3",
          "text": "Which accounts, subscriptions, projects, or pipelines are not covered by these guardrails today?",
          "evidence": "The coverage report or exception list."
        },
        {
          "id": "ACQ-04.4",
          "text": "How are policy exceptions recorded, who approves them, and what happens when one expires?",
          "evidence": "The exception register with owner, justification, and expiry for each entry."
        },
        {
          "id": "ACQ-04.5",
          "text": "How long between a non-compliant resource appearing and someone being notified? Give your most recent real example.",
          "evidence": "The alert with creation and notification timestamps."
        }
      ]
    },
    {
      "id": "GEC-05",
      "name": "Continuous Controls Monitoring & Drift Detection",
      "objective": "Control state is evaluated continuously against codified rules, drift from the declared infrastructure baseline is detected and corrected within a defined SLA, and compliance posture is reported from live data.",
      "statement": "Control state is evaluated continuously against codified rules, and drift from the declared baseline is detected and corrected within a defined time limit.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Configuration checks happen when someone remembers, usually before an audit. Results live in a spreadsheet owned by one person. No drift detection; console changes go unnoticed until something breaks.",
          "evidence": "The spreadsheet or email thread from the last configuration review, with the date it was performed and who performed it."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "A documented checklist of configuration checks runs on a calendar cadence (monthly or quarterly), executed manually via console review or ad hoc scripts. Findings are logged in a ticket queue but detection lag is weeks.",
          "evidence": "The documented check procedure, the last three completed run records, and the tickets opened from findings."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "Config rules are defined in version control (AWS Config rules or Azure Policy definitions deployed via Terraform/Bicep) with peer review on changes. At least one account or subscription has continuous evaluation live. Drift detection runs in at least one pipeline (scheduled `terraform plan` or `what-if`), but some accounts and resource types are unmonitored.",
          "evidence": "The Git repository holding Config rule or Azure Policy definitions, a merged pull request showing peer review, and one account's Config/Policy compliance page showing continuous evaluation."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "Every in-scope account and subscription is covered by continuously evaluating rules deployed from code. Noncompliant evaluations page or ticket within minutes via EventBridge or Event Grid routing. High-risk rules auto-remediate (SSM Automation, Azure Policy deployIfNotExists). Drift checks run on schedule against every state file and alert on nonzero diffs. Exceptions are recorded with an owner and expiry date. Posture dashboards render from the live evaluation API, not from exported snapshots.",
          "evidence": "AWS Config conformance pack compliance timeline export (or Azure Policy compliance history) for all in-scope accounts, an alert (PagerDuty/Slack payload) fired by a noncompliant evaluation with timestamps, an auto-remediation execution log (SSM Automation run or Policy remediation task), and the exception register with expiry dates."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Rule coverage is itself measured: a recurring job diffs deployed rules against the control catalog and flags unmapped controls. Mean time to detect and mean time to remediate drift are tracked and trending down. Expired exceptions auto-escalate. Any 12-month posture question (\"show every noncompliant window for encryption-at-rest rules\") is answerable with a single query against evaluation history.",
          "evidence": "The coverage report mapping deployed rules to catalog controls with gaps flagged, MTTD/MTTR-for-drift trend charts from the last four review cycles, and a live query against evaluation history answering a 12-month posture question during the assessment."
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "DE.CM-01, DE.CM-09 (continuous monitoring of networks and computing resources), DE.AE-02, DE.AE-03 (event analysis and correlation), ID.RA-01",
        "SOC 2": "CC4.1 (ongoing evaluations of control operation), CC7.1-CC7.2 (detection of configuration changes and anomalies), CC3.2",
        "ISO 27001:2022": "A.8.9 (configuration management), A.8.16 (monitoring activities), A.5.36 (compliance with policies and standards)"
      },
      "questions": [
        {
          "id": "ACQ-05.1",
          "text": "How long does it take to detect that a production network rule (security group, NSG, firewall rule) was changed outside your deployment pipeline, and what fires?",
          "evidence": "The rule or job that detects it and a recent alert."
        },
        {
          "id": "ACQ-05.2",
          "text": "How is your current compliance posture (for example, encryption at rest across all production accounts) produced: live from an evaluation service, or from an exported snapshot?",
          "evidence": "The posture report with its data source and generation time."
        },
        {
          "id": "ACQ-05.3",
          "text": "Which controls auto-remediate and which only alert, and how was that split decided?",
          "evidence": "The list of auto-remediating rules."
        },
        {
          "id": "ACQ-05.4",
          "text": "Describe your most recent drift event: what diverged, how it was detected, and how long until the environment matched code again.",
          "evidence": "The alert and the remediating change, with timestamps."
        },
        {
          "id": "ACQ-05.5",
          "text": "How do you confirm that your monitoring rules cover every in-scope control, and when did you last find a gap?",
          "evidence": "The rule-to-control coverage mapping and its last review date."
        }
      ]
    },
    {
      "id": "GEC-06",
      "name": "Evidence Automation & Integrity",
      "objective": "Evidence of control operation is generated by the systems that operate the controls, collected by pipeline, timestamped and integrity-protected, stored immutably, and mapped to controls so that answering an audit request is a query.",
      "statement": "Control evidence is generated by the systems that operate the controls, collected automatically, timestamped, stored where it cannot be altered, and mapped to the controls it supports.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Evidence is gathered by hand when an auditor asks. Screenshots and email threads in a shared folder, named inconsistently, collected by whoever is available. Nothing links an artifact to a control.",
          "evidence": "The shared drive folder from the last audit, with file modification dates and the email thread requesting the artifacts."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "A documented evidence request list maps each control to the artifact to collect and who collects it. Collection is still manual (console exports, screenshots) but consistent cycle to cycle, with a completeness checklist.",
          "evidence": "The evidence request list mapping controls to artifacts and owners, plus the completed checklist from the last cycle."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "Collection scripts and jobs live in version control with peer review. At least one evidence family (for example, access reviews or Config compliance exports) is collected by a scheduled pipeline into a dedicated store with control IDs in the object path or metadata. Other families remain manual.",
          "evidence": "The Git repository containing collection scripts with a reviewed pull request, and a listing of one evidence bucket/container showing scheduled artifacts named or tagged with control IDs."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "All in-scope evidence is produced by pipelines on schedule or on event. Each artifact carries a capture timestamp, a SHA-256 digest recorded at write time, and a control mapping. Storage enforces immutability (S3 Object Lock in compliance mode, Azure immutable blob policy). Failed collection jobs alert within the run window. Manual artifacts are the tracked exception, each with an owner and an expiry.",
          "evidence": "An S3 bucket inventory showing Object Lock retention in compliance mode (or an Azure immutability policy export), a sample artifact with its recorded SHA-256 digest and capture timestamp, the pipeline run history for the collectors, an alert from a failed collection run, and the manual-exception register."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Evidence coverage is measured against the control catalog and gaps surface automatically. Collection failure rates and manual-exception counts are reviewed on cadence and trending down. Integrity is re-verified periodically against the stored digests. Any auditor request spanning the last 12 months (\"show every access review completed in the period, with completion dates\") is answered with a single query.",
          "evidence": "The evidence-coverage report diffing collected artifact types against the control catalog, the periodic integrity re-verification job output, and a live query executed during the assessment returning all artifacts for a named control over the trailing 12 months."
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "GV.OV-01, ID.IM-01 (improvement from evaluations), DE.AE-06 (information on adverse events provided to authorized staff and tools), PR.PS-04",
        "SOC 2": "CC4.1 (ongoing and separate evaluations), CC4.2 (deficiencies communicated), CC2.1 (quality information to support internal control), CC7.1",
        "ISO 27001:2022": "A.5.33 (protection of records), A.5.36 (compliance with policies and standards), A.8.15 (logging), Clause 9.1 (monitoring, measurement, analysis, evaluation)"
      },
      "questions": [
        {
          "id": "ACQ-06.1",
          "text": "For your most recent audit, what share of evidence was system-generated versus screenshots or hand-assembled documents?",
          "evidence": "The evidence index with each item's collection method."
        },
        {
          "id": "ACQ-06.2",
          "text": "For one control (for example, user access reviews), how long does it take to produce 12 months of evidence?",
          "evidence": "The query or storage location the evidence comes from."
        },
        {
          "id": "ACQ-06.3",
          "text": "How would you detect that an evidence artifact was altered after collection?",
          "evidence": "The integrity mechanism (digests, object lock, immutable storage) and its configuration."
        },
        {
          "id": "ACQ-06.4",
          "text": "What happens when an evidence collection job fails? Describe the last failure.",
          "evidence": "The job's failure alert and the resolution record."
        },
        {
          "id": "ACQ-06.5",
          "text": "How is each evidence artifact mapped to the control it supports, and who keeps that mapping current?",
          "evidence": "The mapping file or metadata scheme, and its owner."
        }
      ]
    },
    {
      "id": "GEC-07",
      "name": "Asset & Resource Inventory",
      "objective": "Every asset and cloud resource in scope is discoverable through an API query, carries an accountable owner, and surfaces automatically when it appears without required metadata.",
      "statement": "Every in-scope asset and cloud resource can be listed through an API query and has a named owner, and resources missing ownership metadata are flagged automatically.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Inventory lives in a spreadsheet or wiki page maintained by one person. Ownership is tribal knowledge. New cloud accounts and resources appear without anyone recording them.",
          "evidence": "The spreadsheet itself, with its last-modified date, and the name of the one person who maintains it."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "A documented procedure exists for updating the inventory on a schedule (monthly export from the console, quarterly review). Tagging standards are written down but applied by hand and inconsistently.",
          "evidence": "The written tagging standard, the calendar entry or ticket for the last scheduled inventory refresh, and the exported resource list it produced."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "The tagging standard and inventory queries live in version control with peer review. At least one path is automated: a scheduled job pulls resources from AWS Config or Azure Resource Graph into a queryable store. Some accounts or subscriptions remain outside coverage.",
          "evidence": "The Git repository holding the tagging policy and inventory queries, a merged pull request showing review, and output from the scheduled AWS Config aggregator or Azure Resource Graph job."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "Tag policies are enforced at deploy time across all in-scope accounts (SCPs, Azure Policy deny effects, CI checks on Terraform plans). Untagged or unknown resources trigger an alert to the owning team within minutes of creation. Evidence is a byproduct: any inventory question is a query, not a project. Exceptions are ticketed with expiry dates.",
          "evidence": "Azure Policy assignment (deny effect) or AWS Organizations tag policy plus SCP, a live Resource Graph query returning zero untagged resources in scope, an alert fired for an untagged resource with its resolution ticket, and the exception register showing expiry dates."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Coverage percentage, tag compliance rate, orphaned-resource count, and exception aging are metrics reviewed on a set cadence. \"Show me every untagged resource created in the last 12 months and how long each took to remediate\" is answerable with one query against retained inventory history.",
          "evidence": "A dashboard or saved query showing tag compliance and coverage trends over 12 months, minutes from the recurring review where an inventory metric drove a change, and query results answering an arbitrary historical inventory question on the spot."
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "Identify: ID.AM-01, ID.AM-02, ID.AM-08 (hardware, software, and data inventories maintained)",
        "SOC 2": "CC3.2 (risk identification over the asset base), CC6.1 (identification and inventory of information assets supporting logical access)",
        "ISO 27001:2022": "A.5.9 (inventory of information and other associated assets), A.8.1 (user endpoint devices where in scope)"
      },
      "questions": [
        {
          "id": "ACQ-07.1",
          "text": "How is your asset inventory generated, and how old is its data at any given moment?",
          "evidence": "The inventory job or service and its refresh schedule."
        },
        {
          "id": "ACQ-07.2",
          "text": "What happens automatically when a resource is deployed without an owner tag?",
          "evidence": "The tag policy or deploy-time check, and a recent block or alert."
        },
        {
          "id": "ACQ-07.3",
          "text": "How many in-scope resources currently lack an owner, and how did you count them?",
          "evidence": "The query and its current result."
        },
        {
          "id": "ACQ-07.4",
          "text": "How do you detect resources created outside your provisioning pipeline, including a new cloud account or subscription nobody registered?",
          "evidence": "The detection rule or reconciliation job."
        },
        {
          "id": "ACQ-07.5",
          "text": "How would you determine who owned a given resource 12 months ago?",
          "evidence": "The retained inventory history and how to query it."
        }
      ]
    },
    {
      "id": "GEC-08",
      "name": "Change Management via Version Control",
      "objective": "Pull requests in version control serve as the system of record for change authorization, testing, approval, and deployment, replacing standalone change tickets and change advisory board meetings for code and infrastructure changes.",
      "statement": "Every change to production code and infrastructure is authorized, tested, approved, and deployed through a reviewed pull request that serves as its change record.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Changes ship however each engineer prefers. Some go through PRs, some are direct pushes or console edits. Change records, where they exist, are written after the fact from memory.",
          "evidence": "Git history showing direct pushes to main alongside whatever change tickets exist, demonstrating the mismatch between the two."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "A documented change policy requires a PR plus a ticket for every production change. Engineers follow it consistently but by hand: they copy PR links into tickets and collect approvals in the ticketing tool. CAB meets weekly to review a spreadsheet.",
          "evidence": "The change policy, a sample ticket with a pasted PR link and approval, and CAB meeting minutes from the last month."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "The change policy names the PR as the change record for repos under version control. PR templates capture risk and rollback notes. Approval and testing requirements are enforced by branch protection on primary repos. Some change types (database changes, network appliances, SaaS admin settings) still route through tickets and the gap is documented.",
          "evidence": "The policy section designating PRs as the change record, the PR template file (.github/PULL_REQUEST_TEMPLATE.md) in the repo, and a merged PR showing approval and passing checks, plus the documented list of out-of-scope change types."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "All in-scope change types flow through version control, including database migrations and configuration. Approval, test, and deploy metadata is enforced by the platform, and unapproved deployments are technically blocked, with violations alerted in near real time. The emergency change path is a defined workflow (expedited review label, auto-paged reviewer, mandatory post-hoc review within 48 hours) and every use is logged and tracked to closure. Auditors receive query output, not screenshots.",
          "evidence": "Deployment audit-log or pipeline query results correlating every production deploy in a sample month to an approved PR, the emergency change workflow definition in the repo, and the log of emergency changes with their post-hoc review completion dates."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Change failure rate, emergency change frequency, and post-hoc review completion are metrics reviewed monthly, and trends drive process changes (for example, a rising hotfix rate triggers test coverage work). The team answers \"show all production changes for the last 12 months with approver and deploy time\" from a single query against Git and pipeline data.",
          "evidence": "The change metrics dashboard (failure rate, emergency frequency, review completion), monthly review notes showing a process change driven by the data, and the 12-month change query output."
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "PR.PS-01 (configuration management practices), PR.PS-06 (secure development lifecycle), GV.PO-01 (policies established and communicated), ID.IM-02 (improvement from evaluations)",
        "SOC 2": "CC8.1 (changes authorized, designed, tested, approved, and implemented), CC3.4 (assessing changes that impact controls), CC2.2 (internal communication of responsibilities)",
        "ISO 27001:2022": "A.8.32 (change management), A.5.24 (incident planning tie-in for emergency changes), A.8.9 (configuration management)"
      },
      "questions": [
        {
          "id": "ACQ-08.1",
          "text": "What is your system of record for production changes, and how do you trace a given deploy back to its authorization?",
          "evidence": "One recent deploy traced to its approved pull request or change record."
        },
        {
          "id": "ACQ-08.2",
          "text": "What percentage of production changes last quarter went through your standard change process, and how was that calculated?",
          "evidence": "The query and its result."
        },
        {
          "id": "ACQ-08.3",
          "text": "How is the emergency change process defined, and how many times was it used in the last 90 days?",
          "evidence": "The written workflow and the log of its uses."
        },
        {
          "id": "ACQ-08.4",
          "text": "How are database schema and application configuration changes authorized, compared to application code?",
          "evidence": "An example change of each type with its approval record."
        },
        {
          "id": "ACQ-08.5",
          "text": "If your ticketing system were unavailable, which change evidence would you lose?",
          "evidence": "A description of where approvals, tests, and deploy records live."
        }
      ]
    },
    {
      "id": "GEC-09",
      "name": "Secrets & Configuration Management",
      "objective": "Secrets live in a central vault, never in code or pipeline definitions, rotate automatically, and are progressively replaced by short-lived credentials, with scanning enforced in CI and across repository history.",
      "statement": "Secrets are stored in a central vault, kept out of code and pipeline definitions, rotated automatically, and blocked from entering repositories by enforced scanning.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Secrets in `.env` files, wiki pages, and chat threads. Shared accounts with passwords known by \"the team.\" Rotation happens after an incident or a departure, if at all.",
          "evidence": "Ask an engineer where the production database password is (expect a file path or a DM); no vault exists to inspect."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "A documented standard names the approved store and rotation intervals. Engineers put new secrets in a vault or manager by hand, and rotation is a calendar reminder someone executes manually. No detection of secrets that bypass the process.",
          "evidence": "The secrets standard document; the vault's secret inventory; the rotation calendar or ticket series showing manual completions."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "A central vault (AWS Secrets Manager, Azure Key Vault, HashiCorp Vault) is the source of truth for at least the main production stack, with access defined in Terraform and reviewed. Secret scanning runs in CI on new commits for primary repos. Some legacy services still hold static keys; repo history not yet swept.",
          "evidence": "Terraform for vault resources and access policies with PR review history; a CI run showing the secret-scanning step (gitleaks, GitHub secret scanning) executing; the list of repos and services not yet covered."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "All in-scope workloads pull secrets from the vault at runtime or use federated short-lived credentials (OIDC, IAM roles, managed identities); static keys are exceptions with owners and expiry. Rotation automated with success/failure alerting. Push protection plus history scanning across every repo, findings alerted within minutes and auto-triaged to revocation. Vault access logs feed the SIEM.",
          "evidence": "Secrets Manager rotation configuration and CloudTrail RotateSecret events, or Key Vault rotation policy with Event Grid notifications; an OIDC trust policy proving pipelines hold no stored cloud keys; a push-protection block event and a history-scan finding with its revocation ticket and timestamps; vault audit logs in the SIEM."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Static credential count, secret age distribution, rotation failures, and scanner findings tracked as metrics on a review cadence, trending down. New service templates default to federated identity so static secrets are never created. \"Every secret older than 90 days, every scanner hit, and every revocation in the last 12 months\" is answerable with a query.",
          "evidence": "A dashboard or saved query of secret ages, rotation outcomes, and scanner findings over 12 months; the service template or module showing federated identity as the default; a metric review that produced a static-key elimination task."
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "PR.AA-01, PR.AA-05 (credential management), PR.DS-01, PR.DS-02 (data protection), PR.PS-01",
        "SOC 2": "CC6.1 (logical access and credential protection), CC6.6, CC6.7 (transmission and movement of credentials)",
        "ISO 27001:2022": "A.5.17 (authentication information), A.8.24 (use of cryptography), A.8.28 (secure coding)"
      },
      "questions": [
        {
          "id": "ACQ-09.1",
          "text": "Do your pipelines and workloads use federated short-lived credentials or stored keys? List the static keys that remain and their age.",
          "evidence": "The credential inventory with creation and last-rotation dates."
        },
        {
          "id": "ACQ-09.2",
          "text": "What happens in the first hour after a live credential is committed to a repository?",
          "evidence": "The scanning and push-protection configuration, and the most recent incident timeline."
        },
        {
          "id": "ACQ-09.3",
          "text": "Have you scanned the full history of every repository, including archived ones, for secrets? When, with what tool, and how many findings?",
          "evidence": "The scan report and remediation status."
        },
        {
          "id": "ACQ-09.4",
          "text": "When did your most sensitive production secret last rotate, was it automated, and what alerts if rotation fails?",
          "evidence": "The rotation configuration and its last run."
        },
        {
          "id": "ACQ-09.5",
          "text": "How long does it take to list everyone who accessed a given production secret in the last 30 days?",
          "evidence": "The vault access log query."
        }
      ]
    },
    {
      "id": "GEC-10",
      "name": "Logging, Observability & Audit Trails",
      "objective": "Logs from the cloud control plane, applications, and identity providers are centralized, retained per policy enforced as code, protected from tampering, alerted on for control-relevant events, and coverage is verified rather than assumed.",
      "statement": "Control-plane, application, and identity logs are centralized, retained for a defined period enforced in code, protected from tampering, and alerted on for security-relevant events.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Logs exist wherever defaults left them: per-instance files, default CloudWatch groups, console-only identity logs. Retention is whatever the platform default is. Nobody can list which systems log and which do not.",
          "evidence": "Whatever exists: a CloudWatch console screenshot, a sample log file from a server, and an honest answer about retention."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "A documented logging standard names required sources (control plane, application, identity) and retention periods. Onboarding a new system includes a manual logging setup step. Central aggregation exists for some sources; verification is a periodic manual spot check.",
          "evidence": "The logging standard document with named sources and retention periods, plus the last manual coverage spot-check record."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "Log shipping and retention are defined in version control (Terraform for CloudTrail, diagnostic settings, Log Analytics retention) and peer reviewed. Cloud control plane and identity logs flow to a central store. Some application or SaaS sources are still unaggregated, and coverage checks are periodic rather than continuous.",
          "evidence": "The Terraform (or Bicep) defining the organization trail, diagnostic settings, and retention values, with a reviewed pull request, and the central store showing control plane and identity sources ingesting."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "Every in-scope account, subscription, and system ships logs to a central store deployed from code; new accounts inherit logging at vend time via organization policy or landing zone. Retention is enforced as code and drift alerts. Tamper protection is on (CloudTrail validation, Object Lock, immutable workspace settings, deny policies on trail deletion). Control-relevant events (trail stopped, policy changed, break-glass login) alert in near real time. A continuous job compares the inventory of in-scope resources to active log sources and pages on gaps.",
          "evidence": "The org-level CloudTrail or Azure Policy assignment that auto-enables logging on new accounts/subscriptions, CloudTrail log file validation digest output, the S3 Object Lock or workspace immutability configuration, an alert payload from a \"StopLogging\" or diagnostic-setting-deleted event with timestamps, and the coverage job's latest run comparing resource inventory to active sources."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Coverage percentage, ingestion failure rate, and alert signal-to-noise are metrics reviewed on cadence. Detection rules map to the control catalog and gaps drive a backlog. Log-source loss (an agent gone silent) is itself an alerted event. Any 12-month question (\"prove sign-in logs existed for all admins in the period, with no coverage gaps\") is answerable with a query against ingestion metadata.",
          "evidence": "The logging coverage dashboard with percentage over time, ingestion-failure and silent-source alerts from the last quarter, the detection-rule-to-control mapping, and a live query executed during the assessment showing per-source ingestion continuity for the trailing 12 months."
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "PR.PS-04 (log records generated and available for continuous monitoring), DE.CM-01, DE.CM-03, DE.CM-09, DE.AE-02, DE.AE-03",
        "SOC 2": "CC7.1-CC7.2 (monitoring for anomalies and security events), CC7.3 (evaluation of security events), CC4.1, CC6.1",
        "ISO 27001:2022": "A.8.15 (logging), A.8.16 (monitoring activities), A.8.17 (clock synchronization), A.5.33 (protection of records)"
      },
      "questions": [
        {
          "id": "ACQ-10.1",
          "text": "When a new cloud account, subscription, or project is created, what guarantees it starts sending logs to your central store, and what alerts if it does not?",
          "evidence": "The landing zone or organization policy, and the coverage-gap alert."
        },
        {
          "id": "ACQ-10.2",
          "text": "What alerts when an audit trail or diagnostic setting is stopped, deleted, or changed? When did it last fire or get tested?",
          "evidence": "The alert rule and its most recent firing or test."
        },
        {
          "id": "ACQ-10.3",
          "text": "What prevents a cloud administrator from deleting or rewriting logs of their own actions?",
          "evidence": "The tamper protections (log validation, object lock, deny policies, separate log account)."
        },
        {
          "id": "ACQ-10.4",
          "text": "What is your log retention for control plane, application, and identity logs, and where is it enforced?",
          "evidence": "The retention settings in code, not the policy document."
        },
        {
          "id": "ACQ-10.5",
          "text": "How long does it take to retrieve identity provider sign-in logs for a privileged user from eight months ago?",
          "evidence": "The retrieval procedure and the role that can run it."
        }
      ]
    },
    {
      "id": "GEC-11",
      "name": "Vulnerability & Patch Automation",
      "objective": "Vulnerabilities in images, dependencies, and infrastructure are found continuously, routed to owners automatically with SLAs tracked as data, and remediated by rebuilding and redeploying through the pipeline rather than patching by hand.",
      "statement": "Vulnerabilities in images, dependencies, and infrastructure are detected continuously, assigned to an owner automatically, and fixed within defined time limits through the pipeline.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Scans run when someone remembers or when a customer asks. Findings go to whoever ran the scan. Patching is SSH-and-apt-upgrade by whoever has access. No record of what was fixed or when.",
          "evidence": "The most recent scan report and an honest answer about when the one before it ran."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "Scans run on a documented schedule with a defined tool. Findings are triaged in a recurring meeting and assigned by hand. SLAs are written in a policy document but tracked in a spreadsheet, if at all. Hosts are still patched manually.",
          "evidence": "The scan schedule, the policy document stating SLAs, minutes from the last triage meeting, and the spreadsheet used to track assignments."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "Scanner configuration lives in version control and runs automatically in at least one path (CI scan on container builds, Dependabot on key repos). Findings land in the ticketing system. Some fleets or repos remain uncovered, and some remediation still happens outside the pipeline.",
          "evidence": "The Trivy or Grype configuration in the repository, a CI run showing a scan gate on an image build, a Dependabot or Renovate config file, and tickets auto-created from findings."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "Every image build, dependency manifest, and infrastructure definition in scope is scanned continuously. Findings route to the owning team automatically using the ownership data from GEC-07, with SLA timers as fields in the tracker. Remediation means a version bump merged and redeployed; direct host patching is the exception and is ticketed with an expiry. Breach of SLA alerts, not surprises.",
          "evidence": "A Jira or GitHub Issues query showing open findings with owner and SLA due-date fields populated automatically, an alert fired for an SLA breach, a merged PR that remediated a CVE by bumping a base image with the redeploy run linked, and the exception register with expiry dates on each entry."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Mean time to remediate by severity, SLA breach rate, exception aging, and scan coverage are metrics reviewed on a set cadence and drive changes (base image consolidation, auto-merge policies for patch bumps). \"Show every critical from the last 12 months with its time to fix\" is one query against finding history.",
          "evidence": "A dashboard trending MTTR by severity over 12 months, the recurring review record where a remediation metric changed a practice, and a live query answering \"every critical finding and its close time for the past year.\""
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "Identify: ID.RA-01, ID.RA-08 (vulnerabilities identified and remediation processed); Protect: PR.PS-02 (software maintained and patched)",
        "SOC 2": "CC3.2 (identification of risks including vulnerabilities), CC7.1 (detection of vulnerabilities and configuration changes), CC7.2 (anomaly monitoring)",
        "ISO 27001:2022": "A.8.8 (management of technical vulnerabilities), A.8.32 (change management for remediation through the pipeline)"
      },
      "questions": [
        {
          "id": "ACQ-11.1",
          "text": "For the most recent critical CVE in a component you run, how long from disclosure to fixed in production, and where is that timeline recorded?",
          "evidence": "The finding record with disclosure, detection, and fix dates."
        },
        {
          "id": "ACQ-11.2",
          "text": "How does a vulnerability finding reach the team that owns the affected system, and which steps are manual?",
          "evidence": "The routing rule or integration that assigns findings."
        },
        {
          "id": "ACQ-11.3",
          "text": "What are your remediation SLAs by severity, and what is your current compliance against them?",
          "evidence": "A report or query of SLA compliance, with its run date."
        },
        {
          "id": "ACQ-11.4",
          "text": "Do you remediate by rebuilding and redeploying through the pipeline, or by patching running hosts? What prevents a later deploy from reverting a fix?",
          "evidence": "A recent remediation pull request and deploy."
        },
        {
          "id": "ACQ-11.5",
          "text": "Which vulnerabilities are currently risk-accepted, who approved each, and when does each acceptance expire?",
          "evidence": "The risk-acceptance register."
        }
      ]
    },
    {
      "id": "GEC-12",
      "name": "Third-Party & Supply Chain Governance",
      "objective": "Every third-party dependency, artifact, and vendor integration is inventoried with its access scope, verified for provenance where it enters the build, and monitored with the same observable evidence expected of internal systems.",
      "statement": "Every third-party dependency, artifact, and vendor integration is inventoried with its access scope, and artifacts entering the build are verified for provenance.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Nobody can list all vendors with access, let alone their scopes. Dependencies are whatever the lockfile accumulated. Vendor review happens at contract signing, if then, and is driven by whoever owns the relationship.",
          "evidence": "Whatever list of vendors exists, and a comparison against the OAuth apps actually authorized in the Google Workspace or Entra ID admin console."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "A documented vendor register exists and is reviewed on a schedule. Security review is a consistent step in procurement with a standard questionnaire. Dependency policy is written down. Everything is maintained by hand, and integration scopes are recorded at onboarding but not rechecked.",
          "evidence": "The vendor register with review dates, the procurement checklist showing the security step, and a completed questionnaire from the most recent onboarding."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "Dependency update automation and SBOM generation are codified in version control and run in at least one pipeline. OAuth app and API key inventories are pulled by script from identity providers. Signature verification exists for some artifact paths. Coverage gaps are known and listed.",
          "evidence": "The Renovate or Dependabot config and Syft SBOM step in a pipeline definition in Git, a generated SBOM artifact for a recent release, and script output enumerating OAuth grants and their scopes."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "All in-scope builds emit SBOMs and verify signatures and provenance before deploy; unverifiable artifacts are blocked. Third-party integration grants and scope changes alert in near real time. Vendor access appears in the same detections as internal access. Unreviewed-vendor or expired-review states page someone. Exceptions are ticketed and time-bound. Evidence is a byproduct of the pipeline.",
          "evidence": "A cosign verification step in the deploy pipeline plus a run log showing an unsigned artifact blocked, a Kyverno or Gatekeeper policy requiring signatures in the cluster, an alert fired on a new third-party scope grant, and the time-bound exception register."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Dependency freshness, SBOM coverage, verification block rate, vendor review currency, and exception aging are metrics reviewed on cadence. \"Which of our deployed artifacts contained this library at any point in the last 12 months, and which vendors held write scopes then\" is answerable with queries against retained SBOM and grant history.",
          "evidence": "A 12-month SBOM archive queried live for a named CVE (the log4j test), trend dashboards for verification failures and vendor review currency, and review minutes where a supply chain metric changed a decision."
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "Govern: GV.SC-01, GV.SC-04, GV.SC-06, GV.SC-07 (supply chain risk management program, criticality, due diligence, monitoring)",
        "SOC 2": "CC9.2 (assessment and management of vendor and business partner risks), CC3.2 (risk identification including third parties)",
        "ISO 27001:2022": "A.5.19, A.5.20, A.5.21, A.5.22, A.5.23 (supplier relationships, agreements, ICT supply chain, monitoring and review, cloud services), A.8.28 (secure coding, dependency handling)"
      },
      "questions": [
        {
          "id": "ACQ-12.1",
          "text": "Does your build pipeline generate a software bill of materials (SBOM) for each release? Can a customer get the SBOM for the exact version they run?",
          "evidence": "A pipeline-generated SBOM and the build that produced it."
        },
        {
          "id": "ACQ-12.2",
          "text": "How can a customer verify that an artifact you ship was produced by your build system?",
          "evidence": "The signing or provenance attestation and verification instructions."
        },
        {
          "id": "ACQ-12.3",
          "text": "Which subprocessors and third-party integrations can access customer data, with what scopes, and what keeps that list current?",
          "evidence": "The integration inventory with scopes and its last update date."
        },
        {
          "id": "ACQ-12.4",
          "text": "Is vendor and integration activity monitored by the same detections as employee activity? Give an example.",
          "evidence": "A detection rule covering third-party access."
        },
        {
          "id": "ACQ-12.5",
          "text": "Describe the most recent upstream dependency or vendor incident that affected you. How did you learn of it, and how long until you knew your exposure?",
          "evidence": "The incident record with timeline."
        }
      ]
    },
    {
      "id": "GEC-13",
      "name": "Resilience & Recovery",
      "objective": "Backups of production data and systems are defined in code, stored where an attacker holding production credentials cannot delete them, and proven by restore tests that run on a schedule and measure recovery time and data loss against stated targets.",
      "statement": "Production data is backed up on a schedule defined in code, recovery points cannot be deleted with production credentials, and restores are tested at least once a year against stated recovery targets.",
      "levels": [
        {
          "level": 1,
          "name": "Initial",
          "description": "Backups exist for some systems because a service enabled them by default. Nobody owns them. Restores have happened only during incidents, if ever. Recovery time and data-loss targets are not defined.",
          "evidence": "Console screenshots of backup settings; a verbal account of the last time data was restored (expect it to be during an incident)."
        },
        {
          "level": 2,
          "name": "Repeatable",
          "description": "A documented backup policy names an owner, schedules, and retention per system. Backup jobs are configured by hand in each console. A restore test is performed manually, typically once a year for the audit, and recorded in a document.",
          "evidence": "The backup policy document with owners and schedules; the annual restore test write-up with a date and the system tested."
        },
        {
          "level": 3,
          "name": "Defined",
          "description": "Backup plans, retention, and vault configuration for the main production stack are defined in Terraform or equivalent and reviewed via pull request. Recovery time (RTO) and recovery point (RPO) targets are written per system. At least one restore test runs on a schedule. Some data stores or SaaS systems are not yet covered, and the gaps are listed.",
          "evidence": "The backup Terraform module with a merged, reviewed change; the RTO/RPO table per system; the scheduled restore job's configuration and last run output."
        },
        {
          "level": 4,
          "name": "Managed",
          "description": "Every in-scope data store is enrolled in a backup plan by code or tag-based selection, and new resources are covered automatically. Backups are immutable or held in a separate account or tenant that production credentials cannot reach. Restore tests run on a schedule, validate the restored data, and record actual recovery time against the target. Failed backups and failed restore tests alert. Exceptions are recorded with an owner and expiry.",
          "evidence": "Backup vault lock or separate-account configuration showing production roles cannot delete recovery points; restore-test results with measured recovery times; a failed-backup alert and its resolution; the exception register."
        },
        {
          "level": 5,
          "name": "Optimizing",
          "description": "Backup coverage, restore success rate, and measured RTO/RPO against targets are metrics reviewed on a set cadence, and misses drive engineering work. Full-environment recovery (not just single resources) is exercised at least annually. \"Show every restore test in the last 12 months with its measured recovery time\" is answerable with one query.",
          "evidence": "A dashboard or saved query of 12 months of restore tests with measured RTO/RPO against targets; the most recent full-environment recovery exercise report; tickets created from a missed target."
        }
      ],
      "crosswalk": {
        "NIST CSF 2.0": "PR.DS-11 (backups created, protected, maintained, and tested), PR.IR-03 (resilience mechanisms), RC.RP-01 through RC.RP-05 (incident recovery plan execution)",
        "SOC 2": "A1.2 (backup and recovery infrastructure), A1.3 (recovery plan testing), CC7.5 (recovery from incidents), CC9.1 (business disruption risk mitigation)",
        "ISO 27001:2022": "A.8.13 (information backup), A.8.14 (redundancy of information processing facilities), A.5.29 (information security during disruption), A.5.30 (ICT readiness for business continuity)"
      },
      "questions": [
        {
          "id": "ACQ-13.1",
          "text": "When did you last restore production data from backup, what was restored, and how long did it take compared to your recovery time target?",
          "evidence": "The restore test run with start and end times and its validation result."
        },
        {
          "id": "ACQ-13.2",
          "text": "Could someone holding your production administrator credentials delete or encrypt your backups? What prevents it?",
          "evidence": "The vault lock, immutability setting, or separate backup account configuration."
        },
        {
          "id": "ACQ-13.3",
          "text": "How do you confirm every production data store is backed up, including ones created recently?",
          "evidence": "The backup selection rule (tag or policy based) and a coverage report against your inventory."
        },
        {
          "id": "ACQ-13.4",
          "text": "What are the recovery time (RTO) and recovery point (RPO) targets for your most critical system, and when were they last measured in a test?",
          "evidence": "The RTO/RPO table and the drill results that measured them."
        },
        {
          "id": "ACQ-13.5",
          "text": "Which systems or SaaS data are not backed up, and who accepted that risk?",
          "evidence": "The exception register with owners and expiry dates."
        }
      ]
    }
  ],
  "baseline": {
    "_comment": "ACQ baseline: automatable checks for 'is it secure right now'. Each check is an outcome; platform tests say how to verify it. A check without a test for a platform does not apply to that platform.",
    "platforms": {
      "aws": "AWS",
      "azure": "Azure",
      "gcp": "Google Cloud",
      "github": "GitHub",
      "google_workspace": "Google Workspace",
      "m365_entra": "Microsoft 365 / Entra ID",
      "okta": "Okta"
    },
    "checks": [
      {
        "id": "ACQ-B01",
        "title": "MFA is required for every human account",
        "gec": "GEC-03",
        "tests": {
          "aws": "IAM credential report: every IAM user with a console password has mfa_active=true, and the root user has MFA (GetAccountSummary AccountMFAEnabled=1). Federated access through IAM Identity Center inherits the IdP's MFA.",
          "azure": "An enabled Conditional Access policy requires MFA for all users and all cloud apps (or Security Defaults is on). Only documented break-glass accounts are excluded.",
          "gcp": "All principals with roles on the organization are Cloud Identity or Workspace accounts with 2-Step Verification enforced; no consumer (gmail.com) accounts hold roles.",
          "github": "Organization setting two_factor_requirement_enabled is true, or members authenticate through enforced SAML SSO.",
          "google_workspace": "2-Step Verification is enforced for every organizational unit; Directory API shows isEnforcedIn2Sv=true for all active users.",
          "m365_entra": "Same as azure: a Conditional Access policy requires MFA for all users and all cloud apps.",
          "okta": "Authentication policies for every app require a second factor; no rule allows password-only access."
        }
      },
      {
        "id": "ACQ-B02",
        "title": "Top-level admin accounts are few and protected",
        "gec": "GEC-03",
        "tests": {
          "aws": "Root user has MFA, no access keys (GetAccountSummary AccountAccessKeysPresent=0), and no console sign-in in the last 90 days.",
          "azure": "No more than 4 Global Administrators, assigned as PIM-eligible rather than permanently active.",
          "gcp": "Organization Administrator role held by no more than 4 principals, none of them service accounts.",
          "github": "Organization owners number no more than 4.",
          "google_workspace": "Super Admin role held by no more than 4 accounts, each with security-key 2SV.",
          "m365_entra": "Same as azure.",
          "okta": "Super Administrator role held by no more than 4 accounts."
        }
      },
      {
        "id": "ACQ-B03",
        "title": "No long-lived cloud access keys older than 90 days",
        "gec": "GEC-09",
        "tests": {
          "aws": "IAM credential report: no active access key older than 90 days. CI/CD authenticates with OIDC-federated roles.",
          "azure": "No app registration or service principal has a client secret or certificate valid for more than 90 days; workloads use managed identities or workload identity federation.",
          "gcp": "Org policy iam.disableServiceAccountKeyCreation is enforced, or no user-managed service account key is older than 90 days."
        }
      },
      {
        "id": "ACQ-B04",
        "title": "Secret scanning with push protection on every repository",
        "gec": "GEC-09",
        "tests": {
          "github": "Secret scanning and push protection are enabled on every repository in the organization (security configuration or per-repo security_and_analysis)."
        }
      },
      {
        "id": "ACQ-B05",
        "title": "Default branches require review and passing checks",
        "gec": "GEC-02",
        "tests": {
          "github": "Every in-scope repository's default branch has a ruleset or branch protection requiring at least one approving review and passing status checks, blocking force pushes, and applying to administrators."
        }
      },
      {
        "id": "ACQ-B06",
        "title": "No publicly accessible storage",
        "gec": "GEC-04",
        "tests": {
          "aws": "S3 account-level Block Public Access has all four settings true in every account; no bucket policy grants Principal '*' without a restricting condition.",
          "azure": "Every storage account has allowBlobPublicAccess=false.",
          "gcp": "Org policy storage.publicAccessPrevention is enforced; no bucket IAM binding includes allUsers or allAuthenticatedUsers."
        }
      },
      {
        "id": "ACQ-B07",
        "title": "Databases are not reachable from the internet",
        "gec": "GEC-04",
        "tests": {
          "aws": "Every RDS and Aurora instance has PubliclyAccessible=false.",
          "azure": "Every Azure SQL server has publicNetworkAccess disabled, or no firewall rule spans 0.0.0.0-255.255.255.255.",
          "gcp": "No Cloud SQL instance lists 0.0.0.0/0 as an authorized network."
        }
      },
      {
        "id": "ACQ-B08",
        "title": "No admin ports open to the internet",
        "gec": "GEC-04",
        "tests": {
          "aws": "No security group allows inbound 22 or 3389 from 0.0.0.0/0 or ::/0.",
          "azure": "No network security group allows inbound 22 or 3389 from Any or Internet.",
          "gcp": "No VPC firewall rule allows ingress on 22 or 3389 from 0.0.0.0/0."
        }
      },
      {
        "id": "ACQ-B09",
        "title": "Control-plane audit logging is on everywhere",
        "gec": "GEC-10",
        "tests": {
          "aws": "An organization or multi-region CloudTrail trail is logging (IsLogging=true), records read and write management events, and has log file validation enabled.",
          "azure": "Every subscription has a diagnostic setting exporting the Activity Log to a central workspace or storage account.",
          "gcp": "An organization-level log sink routes audit logs to a central destination.",
          "github": "Audit log streaming to a central store is configured for the enterprise or organization, or a scheduled job exports the audit log through the REST API. Plans without audit log streaming or the audit log API record not-applicable with the reason, since the default retention is 180 days.",
          "google_workspace": "Admin and login audit logs are exported to a central store (BigQuery export or SIEM integration).",
          "m365_entra": "Unified audit log is enabled; Entra sign-in and audit logs are exported to a central store.",
          "okta": "System Log is streamed to a central store or SIEM."
        }
      },
      {
        "id": "ACQ-B10",
        "title": "Audit logs are retained for at least 365 days",
        "gec": "GEC-10",
        "tests": {
          "aws": "The CloudTrail destination bucket has a lifecycle rule or Object Lock that keeps objects at least 365 days.",
          "azure": "The central Log Analytics workspace or storage account retains activity logs at least 365 days.",
          "gcp": "The central log bucket's retention period is at least 365 days."
        }
      },
      {
        "id": "ACQ-B11",
        "title": "Cloud threat detection is enabled",
        "gec": "GEC-05",
        "tests": {
          "aws": "GuardDuty is enabled in every account and region in use.",
          "azure": "Microsoft Defender for Cloud plans are enabled on every subscription in use.",
          "gcp": "Security Command Center is enabled at the organization level."
        }
      },
      {
        "id": "ACQ-B12",
        "title": "Production data is backed up at least daily and retained for at least 14 days",
        "gec": "GEC-13",
        "tests": {
          "aws": "AWS Backup plans with a schedule of at least daily and retention of at least 14 days cover production data stores, or service-native backups do: RDS and Aurora BackupRetentionPeriod of at least 14, DynamoDB point-in-time recovery enabled with a recovery period of at least 14 days.",
          "azure": "Recovery Services or Backup vault policies with a daily or more frequent schedule and at least 14 days of retention cover production data stores; Azure SQL short-term backup retention is at least 14 days.",
          "gcp": "Production Cloud SQL instances have automated backups enabled with at least 14 retained backups and point-in-time recovery on; Backup and DR plans with daily backups and at least 14 days of retention cover other production data stores."
        },
        "note": "Restore testing is scored in GEC-13. With no restore test in the last 12 months, GEC-13 scores Level 1."
      },
      {
        "id": "ACQ-B13",
        "title": "Dependency vulnerability alerts are on and criticals are fixed within 30 days",
        "gec": "GEC-11",
        "tests": {
          "github": "Dependabot alerts are enabled on every in-scope repository; no open critical-severity alert is older than 30 days."
        }
      },
      {
        "id": "ACQ-B14",
        "title": "Inactive accounts are disabled after 90 days",
        "gec": "GEC-03",
        "tests": {
          "aws": "No IAM user with a password or active key has gone unused for more than 90 days.",
          "google_workspace": "No active user's last login is more than 90 days ago.",
          "m365_entra": "No enabled user's last sign-in is more than 90 days ago.",
          "okta": "No ACTIVE user's last login is more than 90 days ago.",
          "github": "No organization member has been inactive for more than 90 days."
        }
      },
      {
        "id": "ACQ-B15",
        "title": "Third-party app access is restricted",
        "gec": "GEC-12",
        "tests": {
          "github": "OAuth app access restrictions are enabled for the organization.",
          "google_workspace": "API controls restrict unconfigured third-party apps; only reviewed apps are trusted.",
          "m365_entra": "User consent to applications is disabled or limited to verified publishers with low-risk permissions.",
          "okta": "Third-party app integrations are assigned by administrators only; self-service app requests require approval."
        }
      },
      {
        "id": "ACQ-B16",
        "title": "Data stores are encrypted at rest and reject unencrypted connections",
        "gec": "GEC-04",
        "tests": {
          "aws": "Every S3 bucket has default encryption and a bucket policy that denies requests where aws:SecureTransport is false; every RDS and Aurora instance has StorageEncrypted=true and requires TLS (rds.force_ssl=1 or require_secure_transport=ON); EBS encryption by default is on in every region in use.",
          "azure": "Every storage account has supportsHttpsTrafficOnly=true and minimumTlsVersion of TLS1_2 or higher; every Azure SQL database has transparent data encryption on and the server's minimal TLS version is 1.2 or higher.",
          "gcp": "Every Cloud SQL instance has sslMode set to ENCRYPTED_ONLY or TRUSTED_CLIENT_CERTIFICATE_REQUIRED. Storage is encrypted at rest by default; customer-managed keys are optional."
        }
      },
      {
        "id": "ACQ-B17",
        "title": "Every production cloud resource has a named owner",
        "gec": "GEC-07",
        "tests": {
          "aws": "A tag policy or the AWS Config required-tags rule requires an owner tag in production accounts, and the Resource Groups Tagging API returns no taggable production resource without one.",
          "azure": "An Azure Policy assignment requires an owner tag in production subscriptions, and policy compliance shows no non-compliant resources.",
          "gcp": "Every production project has an owner label or tag, and Cloud Asset Inventory returns no labelable production resource without one."
        }
      }
    ]
  }
}
