Files
tom_analysis_agent/tests/fixtures/architecture/case-08-landing-zone/requirements.json

281 lines
11 KiB
JSON

[
{
"id": "FR-1",
"kind": "functional",
"text": "The platform foundation isolates development, staging, and production environments across distinct Google Cloud projects and resource folders.",
"from": [
"REQ-02"
]
},
{
"id": "FR-2",
"kind": "functional",
"text": "The platform foundation establishes private bidirectional network connectivity between Google Cloud and on-premises core payment systems over Cloud Interconnect.",
"from": [
"REQ-03"
]
},
{
"id": "FR-3",
"kind": "functional",
"text": "The platform foundation routes all outbound internet-bound traffic from workload spoke networks through centralised network security inspection appliances.",
"from": [
"REQ-03"
]
},
{
"id": "FR-4",
"kind": "functional",
"text": "The platform foundation captures and exports all administrative and data access audit logs across environments into a centralised, tamper-resistant log repository.",
"from": [
"REQ-02"
]
},
{
"id": "FR-5",
"kind": "functional",
"text": "The platform foundation provisions and manages all cloud infrastructure as code via automated CI/CD pipelines executing validated pull request workflows.",
"from": [
"REQ-01"
]
},
{
"id": "FR-6",
"kind": "functional",
"text": "The platform foundation federates corporate identity for single sign-on and enforces least-privilege role-based access control for platform administrators and application squads.",
"from": [
"REQ-04"
]
},
{
"id": "NFR-1",
"kind": "non_functional",
"text": "Environments are partitioned into development, staging, and production tiers, enforcing corp_workload controls on lower environments and pci_regulated_workload controls on production.",
"conditions": [
"Separate projects or folders exist for development, staging, and production environment tiers.",
"Production environments enforce pci_regulated_workload archetype security controls.",
"Development and staging environments enforce corp_workload archetype security controls."
],
"outside_code": [],
"from": [
"REQ-02",
"governance.environment_tiers"
]
},
{
"id": "NFR-2",
"kind": "non_functional",
"text": "Network connectivity is structured as a Shared VPC hub-and-spoke topology with zero direct internet ingress to workload subnets.",
"conditions": [
"A Shared VPC host project is connected to service projects across environment tiers.",
"Workload subnets have private Google access enabled and no external public IP addresses assigned.",
"Ingress firewall rules deny uninspected public internet traffic to workload subnets."
],
"outside_code": [],
"from": [
"REQ-02",
"networking.topology",
"networking.exposure"
]
},
{
"id": "NFR-3",
"kind": "non_functional",
"text": "Hybrid connectivity to on-premises core payment systems is enabled via a 10Gbps Dedicated Cloud Interconnect.",
"conditions": [
"Dedicated Cloud Interconnect connections are configured for hybrid connectivity.",
"Cloud Interconnect capacity is provisioned at 10Gbps bandwidth.",
"Interconnect VLAN attachments are associated with Cloud Routers in the Shared VPC hub."
],
"outside_code": [],
"from": [
"REQ-03",
"networking.hybrid_connectivity.enabled",
"networking.hybrid_connectivity.type",
"networking.hybrid_connectivity.bandwidth_gbps"
]
},
{
"id": "NFR-4",
"kind": "non_functional",
"text": "All outbound internet traffic from workload spokes is forced through centralised inspection appliances deployed in the hub network.",
"conditions": [
"Inspection appliance instances are deployed in a centralised hub network.",
"Custom VPC route tables direct 0.0.0.0/0 egress traffic from spokes to the centralised inspection appliance instances or internal load balancer."
],
"outside_code": [],
"from": [
"REQ-03",
"networking.egress_control.model"
]
},
{
"id": "NFR-5",
"kind": "non_functional",
"text": "Administrative access is authenticated via Entra ID single sign-on, and delivery pipelines authenticate via Workload Identity Federation without stored service account keys.",
"conditions": [
"Workload Identity Federation pools and providers are configured for GitHub Actions authentication.",
"IAM bindings grant roles to federated GitHub Actions identities without downloadable service account keys.",
"Corporate single sign-on is configured with Entra ID as the identity source of truth."
],
"outside_code": [],
"from": [
"REQ-04",
"governance.identity_source_of_truth",
"governance.pipeline_authentication"
]
},
{
"id": "NFR-6",
"kind": "non_functional",
"text": "Customer confidential data is encrypted at rest using customer-managed encryption keys with a 90-day rotation schedule.",
"conditions": [
"Cloud KMS customer-managed encryption keys are configured for infrastructure resources storing confidential data.",
"Cloud KMS keys have an automated rotation period set to 90 days (7776000s)."
],
"outside_code": [],
"from": [
"REQ-04",
"compliance.encryption.type",
"compliance.encryption.key_rotation_days"
]
},
{
"id": "NFR-7",
"kind": "non_functional",
"text": "Audit logs across all environments are retained for 365 days in a storage bucket protected by an immutable retention policy.",
"conditions": [
"An organization-level or project-level log sink exports audit logs to a centralised Cloud Storage bucket.",
"The centralised audit log storage bucket specifies a retention period of 365 days (31536000 seconds).",
"The centralised audit log storage bucket has retention policy locking enabled to prevent modification or early deletion."
],
"outside_code": [],
"from": [
"REQ-02",
"compliance.audit_logging.retention_days",
"compliance.audit_logging.immutable_retention_policy"
]
},
{
"id": "NFR-8",
"kind": "non_functional",
"text": "The platform foundation enforces DORA, ISO27001, and PCI-DSS v4.0 regulatory baselines and protects confidential data classification.",
"conditions": [
"Organization policy constraints enforce perimeter isolation and restrict unauthenticated resource sharing.",
"IAM policies restrict access to confidential data resources to authorized service identities and roles."
],
"outside_code": [
"The landing zone configuration aligns with DORA operational resiliency guidelines and PCI-DSS v4.0 perimeter isolation standards during external audit."
],
"from": [
"REQ-02",
"compliance.frameworks",
"compliance.data_classification"
]
},
{
"id": "NFR-9",
"kind": "non_functional",
"text": "Platform foundation resources are provisioned across europe-west2 (primary) and europe-west1 (secondary) in a warm standby model, restricting data residency to the UK and EU.",
"conditions": [
"Primary landing zone network and foundation resources are provisioned in europe-west2.",
"Secondary landing zone network and foundation standby resources are provisioned in europe-west1.",
"Resource location organization policies restrict resource and data storage locations to europe-west2 and europe-west1."
],
"outside_code": [
"The secondary region in europe-west1 operates as a warm standby ready to receive failover traffic.",
"Data residency is guaranteed within the United Kingdom and European Union."
],
"from": [
"REQ-02",
"estate.regions.primary",
"estate.regions.secondary",
"estate.regions.resiliency_tier",
"estate.data_residency"
]
},
{
"id": "NFR-10",
"kind": "non_functional",
"text": "The platform foundation landing zone is delivered and operational for workload ingestion within 10 weeks.",
"conditions": [
"All landing zone foundation resources are codified in modular Terraform configurations."
],
"outside_code": [
"Platform foundation is fully provisioned and validated for core payments engine workload ingestion within 10 weeks."
],
"from": [
"REQ-01"
]
},
{
"id": "NFR-11",
"kind": "non_functional",
"text": "The platform foundation maintains 99.9% availability with a 4-hour recovery time objective (RTO) and a 1-hour recovery point objective (RPO).",
"conditions": [
"Regional networking and core management services are deployed across at least three zones in the primary region."
],
"outside_code": [
"Platform foundation infrastructure maintains measured monthly availability of at least 99.9%.",
"Disaster recovery activation achieves a recovery time objective (RTO) of 4 hours.",
"Disaster recovery processes achieve a recovery point objective (RPO) of 1 hour."
],
"from": [
"REQ-02"
]
},
{
"id": "NFR-12",
"kind": "non_functional",
"text": "Platform operations monitoring and alerting are implemented using Google Cloud Operations Suite with 24/7 alerting capabilities.",
"conditions": [
"Cloud Monitoring workspaces and notification channels are configured for the platform foundation.",
"Alert policies are configured for Interconnect link degradation, appliance health, and egress routing failures."
],
"outside_code": [
"Alert notifications trigger operational incident workflows for the 24/7 central platform operations team."
],
"from": []
},
{
"id": "NFR-13",
"kind": "non_functional",
"text": "Infrastructure costs are tracked against a monthly budget of 25,000 GBP with automated alerting.",
"conditions": [
"A Cloud Billing budget is configured for the foundation projects with currency set to GBP.",
"Budget alert thresholds are configured at 50%, 80%, 90%, and 100% of the 25,000 GBP monthly budget."
],
"outside_code": [
"Monthly cloud foundation expenditure does not exceed the target allocation without operational sign-off."
],
"from": []
},
{
"id": "NFR-14",
"kind": "non_functional",
"text": "Hybrid networking provides dedicated 10Gbps unthrottled throughput with minimal latency between Google Cloud and on-premises core systems.",
"conditions": [
"Cloud Routers configured for Interconnect advertise non-overlapping RFC 1918 BGP routes.",
"Dedicated Interconnect VLAN attachments are configured with dedicated 10Gbps bandwidth allocation."
],
"outside_code": [
"Hybrid connection provides deterministic low latency suitable for real-time payment transaction processing."
],
"from": [
"REQ-03"
]
},
{
"id": "NFR-15",
"kind": "non_functional",
"text": "Landing zone resources are deployed in Google Cloud regions with strong low-carbon energy ratings.",
"conditions": [
"Foundation resources are constrained to europe-west2 (London) and europe-west1 (Belgium) regions."
],
"outside_code": [
"Deployments optimize carbon-free energy utilization based on Google Cloud regional CFE scores."
],
"from": []
}
]