Schema

The record format for a control, the vocabulary its fields draw from, and where the catalog is published as JSON.

One file per control

A control is one Markdown file under content/controls/<provider>/. The front matter is the record; the body is the explanation. The file name becomes the URL, and the id follows it:

content/controls/aws/iam-root-account-mfa.md
                 │   │   └── check:    root-account-mfa
                 │   └────── service:  iam
                 └────────── provider: aws

id:  aws.iam.root-account-mfa
url: /controls/aws/iam-root-account-mfa/

Identifiers are lowercase, dot-separated, and stable for the life of the control. Renaming a control means retiring the old record and creating a new one, so that evidence collected under the old identifier keeps its meaning.

Fields

FieldRequiredTypeMeaning
titleyesstringThe state the control asserts, written as a true sentence about a passing system.
idyesstringStable identifier, <provider>.<service>.<check>.
descriptionyesstringOne sentence a reader can act on without opening the page.
dateyesdateWhen the control was added. lastmod is optional and defaults to this.
providersyeslistWhere the evidence is read from. One or more provider values.
domainsyeslistWhat the control protects. One or more domain values.
frameworksnolistThe frameworks the control satisfies. Must agree with the keys of mappings.
severityyesstringOne severity value.
statusyesstringOne status value, describing the collector.
functionyesstringpreventive, detective, or corrective.
evidence.sourceyesstringThe API call, command, or file the evidence is read from.
evidence.assertionyesstringThe test applied to the evidence, written so a reader can evaluate it by hand.
evidence.frequencyyesstringHow often the collector runs: hourly, daily, weekly, or on-push.
evidence.collectoryesstringThe tool that produces the evidence, such as aws-cli, gcloud, az-cli, gitleaks, gitea-api.
mappingsnomapFramework identifier to a list of the items this control satisfies.
relatednolistIdentifiers of controls that are usually read together with this one.

The body has three headings, in this order: Rationale (what goes wrong when the state does not hold), Observation (what is read, with which credentials, and the edge cases the assertion treats as failures), and Remediation (what to change so the next collection passes).

Vocabulary

The classifying fields draw their values from a single vocabulary file. A value not listed here is a build error, not a new category.

Providers

ValueLabelMeaning
awsAmazon Web ServicesControls whose evidence is read from AWS accounts through the AWS APIs, using read-only credentials.
azureMicrosoft AzureControls whose evidence is read from Azure subscriptions through Azure Resource Manager.
codeSource codeControls whose evidence is read from the repositories themselves, from the tree, the history, and the forge that hosts them.
gcpGoogle CloudControls whose evidence is read from Google Cloud projects through the Cloud APIs.
pipelineDelivery pipelineControls whose evidence is read from CI/CD workflow definitions, the runners that execute them, and the credentials those runs use.

Domains

ValueLabelMeaning
change-managementChange managementWhether changes reach protected branches and production through the reviewed path and no other.
data-protectionData protectionWhether stored data can be exposed, destroyed, or recovered contrary to intent.
encryptionEncryptionWhether data is protected in transit and at rest, and how the keys that protect it are managed.
identity-and-accessIdentity and accessWho and what can authenticate, and what they are allowed to do once they have.
logging-and-monitoringLogging and monitoringWhether the actions taken against a system are recorded, retained, and tamper-evident.
networkNetworkWhat can reach a workload from where, and what a workload can reach.
secretsSecretsHow credentials, keys, and tokens are stored, delivered to the code that needs them, and kept out of the places they do not belong.
supply-chainSupply chainWhether the dependencies, actions, and toolchains a build pulls in are the ones that were reviewed.

Frameworks

Framework references in mappings are item identifiers within the version named here. When a framework publishes a new version, the mapping is re-checked and the version is updated in one place.

ValueLabelMeaning
cis-awsCIS AWS Foundations Benchmark v3.0.0Prescriptive configuration recommendations for AWS accounts.
cis-azureCIS Microsoft Azure Foundations Benchmark v2.1.0Prescriptive configuration recommendations for Azure subscriptions.
cis-gcpCIS Google Cloud Platform Foundation Benchmark v3.0.0Prescriptive configuration recommendations for Google Cloud projects.
iso-27001ISO/IEC 27001 Annex A 2022Reference information security controls.
nist-800-53NIST SP 800-53 Rev. 5Security and privacy controls for information systems and organizations.
soc2SOC 2 Trust Services Criteria 2017, with 2022 points of focusCriteria for security, availability, processing integrity, confidentiality, and privacy.

Severity

ValueLabelMeaning
criticalCriticalFailure means a path to account-wide or unauthenticated compromise exists. Fix before anything else.
highHighFailure materially weakens a boundary that other controls depend on.
lowLowHygiene. Worth fixing, but not a risk on its own.
mediumMediumFailure reduces visibility or defence in depth without opening a direct path.

Status

ValueLabelMeaning
attestedAttestedThe collector runs on schedule and the published result reflects the system as it is.
plannedPlannedThe control is defined and reviewed, but its collector is not yet running. No claim is made about the system.
retiredRetiredThe control no longer applies. It stays in the catalog so historical evidence keeps its meaning.

Function

ValueLabelMeaning
correctiveCorrectiveSomething acts on a detected state. The collector attests that the response ran.
detectiveDetectiveThe undesirable state is possible. The collector looks for it and reports what it found.
preventivePreventiveThe configuration makes the undesirable state impossible. The collector attests the configuration.

An example record

This is the record of a real control, rendered from the same template that produces its index.json:

{
  "description": "The root user of every AWS account cannot sign in with a password alone.",
  "domains": [
    "identity-and-access"
  ],
  "evidence": {
    "assertion": "SummaryMap.AccountMFAEnabled == 1",
    "collector": "aws-cli",
    "frequency": "daily",
    "source": "aws iam get-account-summary"
  },
  "frameworks": [
    "cis-aws",
    "soc2",
    "nist-800-53"
  ],
  "function": "preventive",
  "id": "aws.iam.root-account-mfa",
  "mappings": {
    "cis-aws": [
      "1.5"
    ],
    "nist-800-53": [
      "IA-2(1)"
    ],
    "soc2": [
      "CC6.1"
    ]
  },
  "providers": [
    "aws"
  ],
  "related": [
    "aws.iam.no-root-access-keys"
  ],
  "severity": "critical",
  "status": "attested",
  "title": "Root user has MFA enabled",
  "updated": "2026-10-03",
  "url": "https://controls.sandbox002.dev.prosyon.ca/controls/aws/iam-root-account-mfa/"
}

Machine-readable catalog

Every list page publishes an index.json beside its index.html, and every control page publishes its own record the same way.

URLContents
/index.jsonDiscovery document: catalog location, counts, and every view with its JSON address.
/controls/index.jsonEvery control, sorted by id.
/controls/<provider>/index.jsonThe controls of one provider section.
/controls/<provider>/<slug>/index.jsonOne control.
/providers/<term>/index.jsonControls carrying that provider. Likewise for /domains/, /frameworks/, /severity/, and /status/.

The record shape is the one shown above. Fields are added over time; fields are not removed or renamed without retiring the identifier.

Adding a control

From the site root, let the archetype write the skeleton:

hugo new controls/aws/kms-customer-key-rotation.md

The archetype fills id and providers from the path and leaves the rest to be completed. Build with make check.hugo from the repository root; a vocabulary value that does not exist fails the build.