{
  "standards": [
    {
      "id": "SEGAS-00001",
      "title": "Writing a standard",
      "url": "http://localhost:8080/standards/writing-a-standard/",
      "date": "2023-08-04",
      "tags": [],
      "requirements": [
        {
          "title": "A standard MUST have an ID",
          "id": "#a-standard-must-have-an-id"
        },
        {
          "title": "A standard MUST have a Title",
          "id": "#a-standard-must-have-a-title"
        },
        {
          "title": "A standard MUST have a Description",
          "id": "#a-standard-must-have-a-description"
        },
        {
          "title": "A standard MUST have one or more Requirements",
          "id": "#a-standard-must-have-one-or-more-requirements"
        },
        {
          "title": "A standard MUST have Tags",
          "id": "#a-standard-must-have-tags"
        },
        {
          "title": "A standard MUST show when it was Last Updated",
          "id": "#a-standard-must-show-when-it-was-last-updated"
        }
      ]
    },
    {
      "id": "SEGAS-00002",
      "title": "Writing a principle",
      "url": "http://localhost:8080/standards/writing-a-principle/",
      "date": "2024-11-28",
      "tags": [],
      "requirements": [
        {
          "title": "A principle MUST have a title",
          "id": "#a-principle-must-have-a-title"
        },
        {
          "title": "A principle MUST have a description",
          "id": "#a-principle-must-have-a-description"
        },
        {
          "title": "A principle MUST have a rationale",
          "id": "#a-principle-must-have-a-rationale"
        },
        {
          "title": "A principle MUST state expected applications and implications",
          "id": "#a-principle-must-include-applications-and-implications"
        },
        {
          "title": "A principle MUST have tags",
          "id": "#a-principle-must-have-tags"
        },
        {
          "title": "A principle MUST show when it was last updated",
          "id": "#a-principle-must-show-when-it-was-last-updated"
        }
      ]
    },
    {
      "id": "SEGAS-00003",
      "title": "Minimal documentation set for a product",
      "url": "http://localhost:8080/standards/minimal-documentation-set-for-a-product/",
      "date": "2024-03-14",
      "tags": [
        "Documentation",
        "Ways of working"
      ],
      "requirements": [
        {
          "title": "Product documentation MUST include a description of the product and what it is for",
          "id": "#product-documentation-must-include-a-description-of-the-product-and-what-it-is-for"
        },
        {
          "title": "Product documentation MUST include key architectural views",
          "id": "#product-documentation-must-include-key-architectural-views"
        },
        {
          "title": "Product documentation MUST include a decision log",
          "id": "#product-documentation-must-include-a-decision-log"
        },
        {
          "title": "Product documentation MUST include runbooks for expected tasks",
          "id": "#product-documentation-must-include-runbooks-for-expected-tasks"
        },
        {
          "title": "Product documentation MUST include information about observability",
          "id": "#product-documentation-must-include-information-about-observability"
        },
        {
          "title": "Product documentation MUST include build, release and deployment processes",
          "id": "#product-documentation-must-include-build%2C-release-and-deployment-processes"
        }
      ]
    },
    {
      "id": "SEGAS-00004",
      "title": "Open source licensing",
      "url": "http://localhost:8080/standards/open-source-licensing/",
      "date": "2025-08-27",
      "tags": [
        "Source management"
      ],
      "requirements": [
        {
          "title": "Open source repositories MUST contain a licence file",
          "id": "#open-source-repositories-must-contain-a-licence-file"
        },
        {
          "title": "Open source repositories MUST have a licence that adheres to the Open Source Definition",
          "id": "#open-source-repositories-must-have-a-licence-that-adheres-to-the-open-source-definition"
        },
        {
          "title": "Open source repositories MUST state who owns the copyright",
          "id": "#open-source-repositories-must-state-who-owns-the-copyright"
        }
      ]
    },
    {
      "id": "SEGAS-00005",
      "title": "Infrastructure as code",
      "url": "http://localhost:8080/standards/infrastructure-as-code/",
      "date": "2023-08-03",
      "tags": [
        "Source management",
        "Build, release and deploy",
        "Infrastructure",
        "CI/CD"
      ],
      "requirements": [
        {
          "title": "Infrastructure definitions MUST be stored as code",
          "id": "#infrastructure-definitions-must-be-stored-as-code"
        },
        {
          "title": "Infrastructure definitions MUST be validated",
          "id": "#infrastructure-definitions-must-be-validated"
        },
        {
          "title": "Secrets MUST NOT be stored in infrastructure definitions",
          "id": "#secrets-must-not-be-stored-in-infrastructure-definitions"
        },
        {
          "title": "Source management best practices MUST be followed for infrastructure definitions",
          "id": "#source-management-best-practices-must-be-followed-for-infrastructure-definitions"
        }
      ]
    },
    {
      "id": "SEGAS-00006",
      "title": "Managing secrets",
      "url": "http://localhost:8080/standards/managing-secrets/",
      "date": "2023-08-08",
      "tags": [
        "Source management",
        "Build, release and deploy",
        "Secure development"
      ],
      "requirements": [
        {
          "title": "Secrets MUST be generated in accordance with the Home Office Password Policy",
          "id": "#secrets-must-be-generated-in-accordance-with-the-home-office-password-policy"
        },
        {
          "title": "You MUST only store secrets in an approved secret management system",
          "id": "#you-must-only-store-secrets-in-an-approved-secret-management-system"
        },
        {
          "title": "You MUST proactively manage access to secrets",
          "id": "#you-must-proactively-manage-access-to-secrets"
        },
        {
          "title": "You MUST implement secret scanning",
          "id": "#you-must-implement-secret-scanning"
        },
        {
          "title": "You MUST ensure that secrets are not exported into monitoring systems",
          "id": "#you-must-ensure-that-secrets-are-not-exported-into-monitoring-systems"
        },
        {
          "title": "You MUST document how secrets are managed",
          "id": "#you-must-document-how-secrets-are-managed"
        },
        {
          "title": "You MUST monitor the usage of secrets to identify suspicious behaviour",
          "id": "#you-must-monitor-the-usage-of-secrets-to-identify-suspicious-behaviour"
        },
        {
          "title": "You MUST have a response plan ready to enact if you have an incident",
          "id": "#you-must-have-a-response-plan-ready-to-enact-if-you-have-an-incident"
        }
      ]
    },
    {
      "id": "SEGAS-00007",
      "title": "Managing the security of software dependencies",
      "url": "http://localhost:8080/standards/managing-security-software-dependencies/",
      "date": "2023-09-08",
      "tags": [
        "Secure development",
        "Software design",
        "CI/CD",
        "Source management",
        "Build, release and deploy",
        "Security",
        "Dependencies"
      ],
      "requirements": [
        {
          "title": "You MUST assess the security of external components before introducing them into software designs",
          "id": "#you-must-assess-the-security-of-external-components-before-introducing-them-into-software-designs"
        },
        {
          "title": "You MUST maintain a discoverable dependency tree for your systems",
          "id": "#you-must-maintain-a-discoverable-dependency-tree-for-your-systems"
        },
        {
          "title": "You MUST proactively identify vulnerabilities in dependencies with scanning and other tools",
          "id": "#you-must-proactively-identify-vulnerabilities-in-dependencies-with-scanning-and-other-tools"
        },
        {
          "title": "You MUST regularly update, replace and remove dependencies",
          "id": "#you-must-regularly-update%2C-replace-and-remove-dependencies"
        }
      ]
    },
    {
      "id": "SEGAS-00008",
      "title": "Accessibility",
      "url": "http://localhost:8080/standards/accessibility/",
      "date": "2025-08-13",
      "tags": [
        "Software design",
        "Accessibility"
      ],
      "requirements": [
        {
          "title": "Products MUST be developed to meet the Home Office Accessibility Standard",
          "id": "#products-must-be-developed-to-meet-the-home-office-accessibility-standard"
        }
      ]
    },
    {
      "id": "SEGAS-00009",
      "title": "Signing code commits",
      "url": "http://localhost:8080/standards/signing-code-commits/",
      "date": "2024-11-26",
      "tags": [
        "Source management",
        "Secure development",
        "Ways of working"
      ],
      "requirements": [
        {
          "title": "All code commits MUST be cryptographically signed by the author of that commit",
          "id": "#all-code-commits-must-be-cryptographically-signed-by-the-author-of-that-commit"
        },
        {
          "title": "All Source code repositories MUST require all commits be signed",
          "id": "#all-source-code-repositories-must-require-all-commits-be-signed"
        }
      ]
    },
    {
      "id": "SEGAS-00010",
      "title": "Encrypting data at rest and in transit",
      "url": "http://localhost:8080/standards/encrypting-data-rest-transit/",
      "date": "2023-09-08",
      "tags": [
        "Secure development",
        "Encryption",
        "Security"
      ],
      "requirements": [
        {
          "title": "Data at rest MUST be encrypted",
          "id": "#data-at-rest-must-be-encrypted"
        },
        {
          "title": "Data in transit MUST be encrypted",
          "id": "#data-in-transit-must-be-encrypted"
        },
        {
          "title": "Cryptographic keys MUST be protected",
          "id": "#cryptographic-keys-must-be-protected"
        }
      ]
    },
    {
      "id": "SEGAS-00011",
      "title": "Infrastructure utilisation monitoring",
      "url": "http://localhost:8080/standards/infrastructure-utilisation-monitoring/",
      "date": "2023-09-20",
      "tags": [
        "Observability",
        "Monitoring",
        "Infrastructure",
        "SRE"
      ],
      "requirements": [
        {
          "title": "Infrastructure MUST be observable relative to defined service level expectations",
          "id": "#infrastructure-must-be-observable-relative-to-defined-service-level-expectations"
        },
        {
          "title": "CPU utilisation MUST be observable",
          "id": "#cpu-utilisation-must-be-observable"
        },
        {
          "title": "Memory utilisation MUST be observable",
          "id": "#memory-utilisation-must-be-observable"
        },
        {
          "title": "Disk utilisation MUST be observable",
          "id": "#disk-utilisation-must-be-observable"
        },
        {
          "title": "Network utilisation MUST be observable",
          "id": "#network-utilisation-must-be-observable"
        },
        {
          "title": "Historical infrastructure monitoring metrics MUST be retained for analysis",
          "id": "#historical-infrastructure-monitoring-metrics-must-be-retained-for-analysis"
        }
      ]
    },
    {
      "id": "SEGAS-00012",
      "title": "Low code workflow naming",
      "url": "http://localhost:8080/standards/low-code-workflow-naming/",
      "date": "2023-11-15",
      "tags": [
        "Low code",
        "Software design"
      ],
      "requirements": [
        {
          "title": "Naming conventions MUST be consistent",
          "id": "#naming-conventions-must-be-consistent"
        },
        {
          "title": "Acronyms or uncommon abbreviations MUST be defined in a central or project glossary",
          "id": "#acronyms-or-uncommon-abbreviations-must-be-defined-in-a-central-or-project-glossary"
        },
        {
          "title": "Workflow, action step and scope block names MUST be descriptive and convey the purpose or objective",
          "id": "#workflow%2C-action-step-and-scope-block-names-must-be-descriptive-and-convey-the-purpose-or-objective"
        },
        {
          "title": "Workflow, action step and scope block names MUST begin with a verb to describe the function, followed by the subject of the verb",
          "id": "#workflow%2C-action-step-and-scope-block-names-must-begin-with-a-verb-to-describe-the-function%2C-followed-by-the-subject-of-the-verb"
        },
        {
          "title": "Words in a workflow name MUST be separated by a space where possible",
          "id": "#words-in-a-workflow-name-must-be-separated-by-a-space-where-possible"
        },
        {
          "title": "Scope blocks that are used for error handling MUST be prefixed with the word ‘Try’ or ‘Catch’",
          "id": "#scope-blocks-that-are-used-for-error-handling-must-be-prefixed-with-the-word-%E2%80%98try%E2%80%99-or-%E2%80%98catch%E2%80%99"
        }
      ]
    },
    {
      "id": "SEGAS-00013",
      "title": "Developer Testing",
      "url": "http://localhost:8080/standards/developer-testing/",
      "date": "2024-01-05",
      "tags": [
        "Software design",
        "Ways of working",
        "Quality engineering"
      ],
      "requirements": [
        {
          "title": "You MUST test early and often",
          "id": "#you-must-test-early-and-often"
        },
        {
          "title": "You MUST automate tests",
          "id": "#you-must-automate-tests"
        },
        {
          "title": "You MUST make tests repeatable",
          "id": "#you-must-make-tests-repeatable"
        },
        {
          "title": "You MUST have a way of measuring the effectiveness of testing",
          "id": "#you-must-have-a-way-of-measuring-the-effectiveness-of-testing"
        },
        {
          "title": "Tests MUST have a purpose and explicit result",
          "id": "#tests-must-have-a-purpose-and-explicit-result"
        },
        {
          "title": "You MUST think about the edge cases",
          "id": "#you-must-think-about-the-edge-cases"
        }
      ]
    },
    {
      "id": "SEGAS-00014",
      "title": "Service reliability",
      "url": "http://localhost:8080/standards/service-reliability/",
      "date": "2024-04-26",
      "tags": [
        "Reliability",
        "Infrastructure",
        "SRE"
      ],
      "requirements": [
        {
          "title": "Service reliability MUST be observable relative to defined service level expectations",
          "id": "#service-reliability-must-be-observable-relative-to-defined-service-level-expectations"
        },
        {
          "title": "Service MUST be tolerant to expected and unexpected failure of a data centre",
          "id": "#service-must-be-tolerant-to-expected-and-unexpected-failure-of-a-data-centre"
        },
        {
          "title": "Service MUST be tolerant to expected and unexpected failure of physical or virtualised hardware as well as network",
          "id": "#service-must-be-tolerant-to-expected-and-unexpected-failure-of-physical-or-virtualised-hardware-as-well-as-network"
        },
        {
          "title": "Service MUST be tolerant to expected and unexpected failure of upstream services such as databases",
          "id": "#service-must-be-tolerant-to-expected-and-unexpected-failure-of-upstream-services-such-as-databases"
        },
        {
          "title": "Service MUST be sized appropriately for normal operations and MUST be able to automatically scale as appropriate based on metrics",
          "id": "#service-must-be-sized-appropriately-for-normal-operations-and-must-be-able-to-automatically-scale-as-appropriate-based-on-metrics"
        },
        {
          "title": "Service MUST be able to handle requests to protect the overall service",
          "id": "#service-must-be-able-to-handle-requests-to-protect-the-overall-service"
        },
        {
          "title": "Service MUST be able to tolerate expected load",
          "id": "#service-must-be-able-to-tolerate-expected-load"
        },
        {
          "title": "Service MUST be able to tolerate expected stress",
          "id": "#service-must-be-able-to-tolerate-expected-stress"
        },
        {
          "title": "Service MUST be soak tested",
          "id": "#service-must-be-soak-tested"
        }
      ]
    },
    {
      "id": "SEGAS-00015",
      "title": "Designing and Maintaining an API",
      "url": "http://localhost:8080/standards/designing-and-maintaining-an-api/",
      "date": "2024-10-14",
      "tags": [
        "Software design",
        "API Design"
      ],
      "requirements": [
        {
          "title": "You MUST include a form of versioning to your API",
          "id": "#you-must-include-a-form-of-versioning-to-your-api"
        },
        {
          "title": "You MUST return appropriate status codes from each endpoint",
          "id": "#you-must-return-appropriate-status-codes-from-each-endpoint"
        },
        {
          "title": "You MUST use appropriate nouns for resource names",
          "id": "#you-must-use-appropriate-nouns-for-resource-names"
        },
        {
          "title": "You MUST include some way to observe your API",
          "id": "#you-must-include-some-way-to-observe-your-api"
        },
        {
          "title": "You MUST apply security best practices",
          "id": "#you-must-apply-security-best-practices"
        },
        {
          "title": "You MUST validate inputs",
          "id": "#you-must-validate-inputs"
        },
        {
          "title": "You MUST consider authentication and authorisation",
          "id": "#you-must-consider-authentication-and-authorisation"
        },
        {
          "title": "You MUST test your API",
          "id": "#you-must-test-your-api"
        },
        {
          "title": "You MUST consider scalability of your API",
          "id": "#you-must-consider-scalability-of-your-api"
        },
        {
          "title": "You MUST use an API Specification",
          "id": "#you-must-use-an-api-specification"
        }
      ]
    },
    {
      "id": "SEGAS-00016",
      "title": "Documenting an API",
      "url": "http://localhost:8080/standards/documenting-an-api/",
      "date": "2025-03-21",
      "tags": [
        "Software design",
        "API Design"
      ],
      "requirements": [
        {
          "title": "You MUST include your API on the relevant registers if your API is public",
          "id": "#you-must-include-your-api-on-the-relevant-registers-if-your-api-is-public"
        },
        {
          "title": "You MUST have documentation on requests and responses of all endpoints",
          "id": "#you-must-have-documentation-on-requests-and-responses-of-all-endpoints"
        },
        {
          "title": "You MUST provide specific feedback in error responses",
          "id": "#you-must-provide-specific-feedback-in-error-responses"
        },
        {
          "title": "You MUST document how to connect to your API",
          "id": "#you-must-document-how-to-connect-to-your-api"
        },
        {
          "title": "You MUST document how to raise an issue with your API if your API has external consumers",
          "id": "#you-must-document-how-to-raise-an-issue-with-your-api-if-your-api-has-external-consumers"
        },
        {
          "title": "You MUST document information on rate limits",
          "id": "#you-must-document-information-on-rate-limits"
        },
        {
          "title": "You MUST document different versions of your API",
          "id": "#you-must-document-different-versions-of-your-api"
        }
      ]
    },
    {
      "id": "SEGAS-00017",
      "title": "Test pyramid",
      "url": "http://localhost:8080/standards/test-pyramid/",
      "date": "2025-10-31",
      "tags": [
        "Quality engineering"
      ],
      "requirements": [
        {
          "title": "You MUST prioritise early testing",
          "id": "#you-must-prioritise-early-testing"
        },
        {
          "title": "You MUST validate the integration of your components",
          "id": "#you-must-validate-the-integration-of-your-components"
        },
        {
          "title": "You MUST automate where practical to do so",
          "id": "#you-must-automate-where-practical-to-do-so"
        },
        {
          "title": "You MUST avoid large numbers of end-to-end tests",
          "id": "#you-must-avoid-large-numbers-of-end-to-end-tests"
        },
        {
          "title": "You MUST capture metrics to provide evidence of the efficiency of your tests",
          "id": "#you-must-capture-metrics-to-provide-evidence-of-the-efficiency-of-your-tests"
        }
      ]
    },
    {
      "id": "SEGAS-00018",
      "title": "Collect DORA metrics",
      "url": "http://localhost:8080/standards/collect-dora-metrics/",
      "date": "2025-11-14",
      "tags": [
        "Build, release and deploy",
        "Infrastructure"
      ],
      "requirements": [
        {
          "title": "You MUST collect these metrics",
          "id": "#you-must-collect-these-metrics"
        },
        {
          "title": "You MUST continuously monitor these metrics over time",
          "id": "#You-must-continuously-monitor-these-metrics-over-time"
        },
        {
          "title": "You MUST understand what these metrics mean for your team",
          "id": "#you-must-understand-what-these-metrics-mean-for-your-team"
        },
        {
          "title": "You MUST have an action plan/procedure to improve metrics when they drop",
          "id": "#you-must-have-an-action-planprocedure-to-improve-metrics-when-they-drop"
        }
      ]
    },
    {
      "id": "SEGAS-00020",
      "title": "Use AI",
      "url": "http://localhost:8080/standards/use-ai/",
      "date": "2026-03-20",
      "tags": [
        "Generative AI",
        "Artificial intelligence (AI)",
        "Secure development",
        "Ways of working",
        "Developed with assistance from Copilot"
      ],
      "requirements": [
        {
          "title": "AI‑assisted outputs MUST be reviewed and approved by a human before reaching production",
          "id": "#aiassisted-outputs-must-be-reviewed-and-approved-by-a-human-before-reaching-production"
        },
        {
          "title": "AI‑assisted changes MUST be traceable through engineering processes",
          "id": "#aiassisted-changes-must-be-traceable-through-engineering-processes"
        },
        {
          "title": "You MUST test your code",
          "id": "#you-must-test-your-code"
        },
        {
          "title": "You MUST follow the guardrails",
          "id": "#you-must-follow-the-guardrails"
        },
        {
          "title": "You MUST plan for the worst",
          "id": "#you-must-plan-for-the-worst"
        },
        {
          "title": "You MUST ensure that sensitive, personal, classified, or otherwise restricted data is not exposed to AI tools unless explicitly approved",
          "id": "#you-must-ensure-that-sensitive-personal-classified-or-otherwise-restricted-data-is-not-exposed-to-ai-tools-unless-explicitly-approved"
        },
        {
          "title": "AI‑assisted code MUST meet the same security expectations as human‑written code",
          "id": "#aiassisted-code-must-meet-the-same-security-expectations-as-humanwritten-code"
        },
        {
          "title": "You MUST understand and manage the risks of AI‑introduced dependencies, libraries, or code patterns",
          "id": "#you-must-understand-and-manage-the-risks-of-aiintroduced-dependencies-libraries-or-code-patterns"
        },
        {
          "title": "AI usage MUST evolve in line with updated guidance, standards, and organisational guardrails",
          "id": "#ai-usage-must-evolve-in-line-with-updated-guidance-standards-and-organisational-guardrails"
        },
        {
          "title": "You MUST only use approved tools",
          "id": "#you-must-only-use-approved-tools"
        }
      ]
    }
  ]
}
