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
| Field | Required | Type | Meaning |
|---|---|---|---|
title | yes | string | The state the control asserts, written as a true sentence about a passing system. |
id | yes | string | Stable identifier, <provider>.<service>.<check>. |
description | yes | string | One sentence a reader can act on without opening the page. |
date | yes | date | When the control was added. lastmod is optional and defaults to this. |
providers | yes | list | Where the evidence is read from. One or more provider values. |
domains | yes | list | What the control protects. One or more domain values. |
frameworks | no | list | The frameworks the control satisfies. Must agree with the keys of mappings. |
severity | yes | string | One severity value. |
status | yes | string | One status value, describing the collector. |
function | yes | string | preventive, detective, or corrective. |
evidence.source | yes | string | The API call, command, or file the evidence is read from. |
evidence.assertion | yes | string | The test applied to the evidence, written so a reader can evaluate it by hand. |
evidence.frequency | yes | string | How often the collector runs: hourly, daily, weekly, or on-push. |
evidence.collector | yes | string | The tool that produces the evidence, such as aws-cli, gcloud, az-cli, gitleaks, gitea-api. |
mappings | no | map | Framework identifier to a list of the items this control satisfies. |
related | no | list | Identifiers 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
| Value | Label | Meaning |
|---|---|---|
aws | Amazon Web Services | Controls whose evidence is read from AWS accounts through the AWS APIs, using read-only credentials. |
azure | Microsoft Azure | Controls whose evidence is read from Azure subscriptions through Azure Resource Manager. |
code | Source code | Controls whose evidence is read from the repositories themselves, from the tree, the history, and the forge that hosts them. |
gcp | Google Cloud | Controls whose evidence is read from Google Cloud projects through the Cloud APIs. |
pipeline | Delivery pipeline | Controls whose evidence is read from CI/CD workflow definitions, the runners that execute them, and the credentials those runs use. |
Domains
| Value | Label | Meaning |
|---|---|---|
change-management | Change management | Whether changes reach protected branches and production through the reviewed path and no other. |
data-protection | Data protection | Whether stored data can be exposed, destroyed, or recovered contrary to intent. |
encryption | Encryption | Whether data is protected in transit and at rest, and how the keys that protect it are managed. |
identity-and-access | Identity and access | Who and what can authenticate, and what they are allowed to do once they have. |
logging-and-monitoring | Logging and monitoring | Whether the actions taken against a system are recorded, retained, and tamper-evident. |
network | Network | What can reach a workload from where, and what a workload can reach. |
secrets | Secrets | How credentials, keys, and tokens are stored, delivered to the code that needs them, and kept out of the places they do not belong. |
supply-chain | Supply chain | Whether 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.
| Value | Label | Meaning |
|---|---|---|
cis-aws | CIS AWS Foundations Benchmark v3.0.0 | Prescriptive configuration recommendations for AWS accounts. |
cis-azure | CIS Microsoft Azure Foundations Benchmark v2.1.0 | Prescriptive configuration recommendations for Azure subscriptions. |
cis-gcp | CIS Google Cloud Platform Foundation Benchmark v3.0.0 | Prescriptive configuration recommendations for Google Cloud projects. |
iso-27001 | ISO/IEC 27001 Annex A 2022 | Reference information security controls. |
nist-800-53 | NIST SP 800-53 Rev. 5 | Security and privacy controls for information systems and organizations. |
soc2 | SOC 2 Trust Services Criteria 2017, with 2022 points of focus | Criteria for security, availability, processing integrity, confidentiality, and privacy. |
Severity
| Value | Label | Meaning |
|---|---|---|
critical | Critical | Failure means a path to account-wide or unauthenticated compromise exists. Fix before anything else. |
high | High | Failure materially weakens a boundary that other controls depend on. |
low | Low | Hygiene. Worth fixing, but not a risk on its own. |
medium | Medium | Failure reduces visibility or defence in depth without opening a direct path. |
Status
| Value | Label | Meaning |
|---|---|---|
attested | Attested | The collector runs on schedule and the published result reflects the system as it is. |
planned | Planned | The control is defined and reviewed, but its collector is not yet running. No claim is made about the system. |
retired | Retired | The control no longer applies. It stays in the catalog so historical evidence keeps its meaning. |
Function
| Value | Label | Meaning |
|---|---|---|
corrective | Corrective | Something acts on a detected state. The collector attests that the response ran. |
detective | Detective | The undesirable state is possible. The collector looks for it and reports what it found. |
preventive | Preventive | The 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.
| URL | Contents |
|---|---|
/index.json | Discovery document: catalog location, counts, and every view with its JSON address. |
/controls/index.json | Every control, sorted by id. |
/controls/<provider>/index.json | The controls of one provider section. |
/controls/<provider>/<slug>/index.json | One control. |
/providers/<term>/index.json | Controls 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.