feat: working TOM agent

This commit is contained in:
2026-10-21 19:47:12 +01:00
commit efe543e6e2
83 changed files with 11779 additions and 0 deletions

View File

@@ -0,0 +1,79 @@
[
{
"id": "C-1",
"name": "Resource Hierarchy and Environment Boundary Manager",
"requirements": [
"FR-1",
"NFR-1",
"NFR-8",
"NFR-9"
]
},
{
"id": "C-2",
"name": "Dedicated Private Hybrid Connectivity Gateway",
"requirements": [
"FR-2",
"NFR-3",
"NFR-14"
]
},
{
"id": "C-3",
"name": "Centralised Outbound Traffic Inspection and Egress Boundary",
"requirements": [
"FR-3",
"NFR-2",
"NFR-4"
]
},
{
"id": "C-4",
"name": "Centralised Immutable Audit Event and Compliance Log Repository",
"requirements": [
"FR-4",
"NFR-7",
"NFR-8"
]
},
{
"id": "C-5",
"name": "Automated Infrastructure Orchestration and Deployment Engine",
"requirements": [
"FR-5",
"NFR-10"
]
},
{
"id": "C-6",
"name": "Federated Identity and Role Governance Authority",
"requirements": [
"FR-6",
"NFR-5"
]
},
{
"id": "C-7",
"name": "Cryptographic Key Lifecycle and Encryption Controller",
"requirements": [
"NFR-6",
"NFR-8"
]
},
{
"id": "C-8",
"name": "Platform Telemetry and Operational Alerting Engine",
"requirements": [
"NFR-11",
"NFR-12",
"NFR-15"
]
},
{
"id": "C-9",
"name": "Financial Governance and Budget Enforcement Monitor",
"requirements": [
"NFR-13"
]
}
]

View File

@@ -0,0 +1,140 @@
{
"customer_case": "case-08-landing-zone",
"execution_id": "case-08-landing-zone-185426",
"session_id": "cdd6bfe7-2bd8-44af-8e15-9dcfa869eb84",
"intent_version": 1,
"workflow_request": "We are a UK-regulated payment platform expanding into Google Cloud. We need an\nenterprise-grade landing zone ready in under 10 weeks to support our core payments\nengine. All payment processing must comply with DORA and PCI-DSS v4.0. We have\nexisting on-premises systems that require private, low-latency connectivity over a\n10Gbps dedicated interconnect. We use Entra ID for corporate single sign-on and\nGitHub Actions for our delivery pipelines. Security requires that all egress\ntraffic flows through centralised inspection appliances before touching the public\ninternet, and customer data must be encrypted with keys we control.",
"baseline": null,
"overlay_skills": {},
"terraform_modules": false,
"scope": {
"status": "BASELINE_LOCKED",
"readiness": {
"supplied": 44,
"answered": 0,
"assumed": 12,
"unknown": 4,
"not_applicable": 3
}
},
"delivery_plan": {
"work_packages": 9,
"activities": 15,
"working_days": 36.0,
"weeks": 7.2,
"team_size": 3,
"window_weeks": 10,
"within_window": true,
"critical_path": [
"A-6",
"A-10",
"A-13",
"A-14",
"A-15"
]
},
"status": "completed",
"warnings": [],
"risks": [],
"assessment": {
"recommendations_quality": {
"specific": 0.91,
"actionable": 0.79,
"trade_offs": 0.95,
"traceable": 0.73
},
"mean": 0.84,
"meets_bar": true
},
"phases": {
"scoping": "approved",
"requirements_discovery": "approved",
"solution_architecture": "approved",
"solution_implementation": "approved",
"solution_validation": "approved",
"packaging": "approved"
},
"solution_guide": "solution-architecture-guide.md",
"customer_questions": "customer-questions.md",
"changes": null,
"deliverables": {
"scope": {
"document": "deliverables/scope.md",
"attachments": [
"scope.json",
"scope.yaml"
],
"status": "submitted"
},
"requirements": {
"document": "deliverables/requirements.md",
"attachments": [
"requirements.json"
],
"status": "submitted"
},
"technical_decomposition": {
"document": "deliverables/technical_decomposition.md",
"attachments": [
"components.json"
],
"status": "submitted"
},
"product_selection": {
"document": "deliverables/product_selection.md",
"attachments": [
"products.json"
],
"status": "submitted"
},
"design_recommendations": {
"document": "deliverables/design_recommendations.md",
"attachments": [
"recommendations.json"
],
"status": "submitted"
},
"target_architecture": {
"document": "deliverables/target_architecture.md",
"attachments": [
"architecture.mmd",
"target-architecture.json"
],
"status": "submitted"
},
"architecture_description": {
"document": "deliverables/architecture_description.md",
"attachments": [],
"status": "submitted"
},
"deployment_guidance": {
"document": "deliverables/deployment_guidance.md",
"attachments": [
"implementation.json",
"terraform/main.tf",
"terraform/variables.tf",
"terraform/versions.tf"
],
"status": "submitted"
},
"validation_results": {
"document": "deliverables/validation_results.md",
"attachments": [
"verdicts.json"
],
"status": "submitted"
},
"work_breakdown": {
"document": "deliverables/work_breakdown.md",
"attachments": [
"work-breakdown.json"
],
"status": "submitted"
},
"solution_guide": {
"document": "deliverables/solution_guide.md",
"attachments": [],
"status": "submitted"
}
}
}

View File

@@ -0,0 +1,38 @@
[
{
"component": "C-1",
"product": "Resource Manager"
},
{
"component": "C-2",
"product": "Cloud Interconnect"
},
{
"component": "C-3",
"product": "Palo Alto Networks VM-Series"
},
{
"component": "C-4",
"product": "Cloud Storage"
},
{
"component": "C-5",
"product": "GitHub Actions"
},
{
"component": "C-6",
"product": "IAM Workload Identity Federation"
},
{
"component": "C-7",
"product": "Cloud KMS"
},
{
"component": "C-8",
"product": "Cloud Monitoring"
},
{
"component": "C-9",
"product": "Cloud Billing"
}
]

View File

@@ -0,0 +1,248 @@
[
{
"id": "DR-SEC-1",
"pillar": "security",
"text": "Implement a VPC Service Controls perimeter around all Cardholder Data Environment (CDE) projects and the centralized audit log buckets.",
"components": [
"C-1",
"C-4"
],
"conditions": [
"A VPC Service Controls perimeter encloses the CDE and audit log projects.",
"The VPC Service Controls perimeter restricts ingress and egress to authorized traffic."
],
"outside_code": []
},
{
"id": "DR-SEC-2",
"pillar": "security",
"text": "Apply Organization Policy constraints to disable default network creation, deny external IPs, prohibit service account key creation, and restrict resource locations.",
"components": [
"C-1"
],
"conditions": [
"The compute.skipDefaultNetworkCreation constraint is enforced.",
"The compute.vmExternalIpAccess constraint is enforced to deny all.",
"The iam.disableServiceAccountKeyCreation constraint is enforced.",
"The gcp.resourceLocations constraint restricts resources to europe-west2 and europe-west1."
],
"outside_code": []
},
{
"id": "DR-SEC-3",
"pillar": "security",
"text": "Enable Confidential Computing on the payment engine Compute Engine instances to encrypt data in-use.",
"components": [],
"conditions": [
"Confidential Computing is enabled on the core payment engine Compute Engine instances."
],
"outside_code": []
},
{
"id": "DR-SEC-4",
"pillar": "security",
"text": "Deploy Sensitive Data Protection (Cloud DLP) inspection templates to detect and mask PAN data.",
"components": [
"C-4"
],
"conditions": [
"Sensitive Data Protection (Cloud DLP) inspection templates are configured to detect and mask PAN data."
],
"outside_code": []
},
{
"id": "DR-SEC-5",
"pillar": "security",
"text": "Enable Security Command Center at the organization level with Event and Container Threat Detection.",
"components": [
"C-1",
"C-8"
],
"conditions": [
"Security Command Center is activated at the organization level.",
"Event Threat Detection and Container Threat Detection are enabled in SCC."
],
"outside_code": []
},
{
"id": "DR-SEC-6",
"pillar": "security",
"text": "Implement event-driven automated responses using Eventarc and Cloud Run functions for SCC findings.",
"components": [
"C-8"
],
"conditions": [
"Eventarc is configured to route high-severity SCC findings.",
"Cloud Run functions are configured to execute automated remediation on Eventarc triggers."
],
"outside_code": []
},
{
"id": "DR-REL-1",
"pillar": "reliability",
"text": "Provision redundant Dedicated Cloud Interconnect circuits across distinct physical edge colocation facilities, terminating on redundant Cloud Routers with BFD.",
"components": [
"C-2"
],
"conditions": [
"Dedicated Cloud Interconnect circuits are provisioned across redundant edge colocation facilities.",
"Cloud Interconnects terminate on redundant Cloud Routers in each region.",
"Bidirectional Forwarding Detection (BFD) is enabled on the Cloud Router BGP sessions."
],
"outside_code": []
},
{
"id": "DR-REL-2",
"pillar": "reliability",
"text": "Deploy Palo Alto VM-Series firewalls in a regional Managed Instance Group across at least three zones, fronted by an Internal Passthrough Network Load Balancer.",
"components": [
"C-3"
],
"conditions": [
"Palo Alto VM-Series firewalls are deployed in a regional Managed Instance Group (MIG) across at least three zones.",
"An Internal Passthrough Network Load Balancer routes traffic to the VM-Series MIG.",
"Health checks are configured on the internal load balancer to probe firewall health."
],
"outside_code": []
},
{
"id": "DR-REL-3",
"pillar": "reliability",
"text": "Provision dedicated regional Cloud KMS key rings in both europe-west2 and europe-west1, granting workload identity service accounts Decrypter roles on both.",
"components": [
"C-7",
"C-6"
],
"conditions": [
"Regional Cloud KMS key rings are provisioned in both europe-west2 and europe-west1.",
"Workload Identity Federation service accounts are granted Decrypter roles on both regional key sets."
],
"outside_code": []
},
{
"id": "DR-REL-4",
"pillar": "reliability",
"text": "Configure the Cloud Storage buckets for audit logging as Dual-Region spanning europe-west2 and europe-west1.",
"components": [
"C-4"
],
"conditions": [
"Audit log Cloud Storage buckets are configured as Dual-Region spanning europe-west2 and europe-west1."
],
"outside_code": []
},
{
"id": "DR-REL-5",
"pillar": "reliability",
"text": "Isolate the Terraform state of the primary region from the standby region using multi-region Cloud Storage buckets with Object Versioning.",
"components": [
"C-5"
],
"conditions": [
"Terraform state for primary and standby regions is decoupled into separate failure domains.",
"Terraform state is stored in multi-region Cloud Storage buckets with Object Versioning enabled."
],
"outside_code": []
},
{
"id": "DR-OP-1",
"pillar": "operational-excellence",
"text": "Integrate Policy-as-Code validation into the GitHub Actions pull request workflows.",
"components": [
"C-5"
],
"conditions": [
"GitHub Actions workflows include automated Policy-as-Code validation steps prior to deployment execution."
],
"outside_code": []
},
{
"id": "DR-OP-2",
"pillar": "operational-excellence",
"text": "Establish explicit Service Level Indicators (SLIs) and configure multi-burn-rate alerting policies in Cloud Monitoring.",
"components": [
"C-8"
],
"conditions": [
"Service Level Objectives (SLOs) and SLIs are defined in Cloud Monitoring Service Monitoring.",
"Multi-burn-rate alerting policies are configured based on the SLO error budget."
],
"outside_code": []
},
{
"id": "DR-OP-3",
"pillar": "operational-excellence",
"text": "Activate the IAM Recommender to continuously evaluate role bindings.",
"components": [
"C-6"
],
"conditions": [
"IAM Recommender is activated on the foundation projects."
],
"outside_code": [
"Permissions are continuously rightsized based on IAM Recommender findings."
]
},
{
"id": "DR-COST-1",
"pillar": "cost-optimization",
"text": "Enforce a mandatory labeling taxonomy through Organization Policies and export granular billing data to BigQuery.",
"components": [
"C-9",
"C-1"
],
"conditions": [
"Cloud Billing export to BigQuery is enabled.",
"A mandatory labeling taxonomy is enforced via Organization Policy Service tags."
],
"outside_code": []
},
{
"id": "DR-COST-2",
"pillar": "cost-optimization",
"text": "Implement Cloud Storage Object Lifecycle Management to transition logs to Nearline storage after 30 days and to Coldline or Archive storage after 90 days.",
"components": [
"C-4"
],
"conditions": [
"Object Lifecycle Management rules transition Cloud Storage objects to Nearline storage after 30 days.",
"Object Lifecycle Management rules transition Cloud Storage objects to Coldline or Archive storage after 90 days."
],
"outside_code": []
},
{
"id": "DR-PERF-1",
"pillar": "performance-optimization",
"text": "Configure Cloud Routers with regional dynamic routing to localize egress traffic within the warm standby region.",
"components": [
"C-2"
],
"conditions": [
"Cloud Routers are configured with regional dynamic routing mode."
],
"outside_code": []
},
{
"id": "DR-PERF-2",
"pillar": "performance-optimization",
"text": "Instrument the deployment with OpenTelemetry exporting to Cloud Trace, and use Cloud Profiler on the compute instances.",
"components": [
"C-8"
],
"conditions": [
"OpenTelemetry tracing is configured to export to Cloud Trace.",
"Cloud Profiler agents are enabled on the core payments engine instances."
],
"outside_code": []
},
{
"id": "DR-SUST-1",
"pillar": "sustainability",
"text": "Implement a Pilot Light warm standby by maintaining active data replication while scaling the standby compute instances to a minimal baseline.",
"components": [],
"conditions": [
"Secondary region compute instances are scaled to a minimal baseline (Pilot Light) configuration during normal operations."
],
"outside_code": []
}
]

View File

@@ -0,0 +1,280 @@
[
{
"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": []
}
]

View File

@@ -0,0 +1,233 @@
{
"kind": "platform_foundation",
"stated": {
"engagement": {
"kind": "platform_foundation"
},
"intent": {
"statement": "We are a UK-regulated payment platform expanding into Google Cloud. We need an\nenterprise-grade landing zone ready in under 10 weeks to support our core payments\nengine. All payment processing must comply with DORA and PCI-DSS v4.0. We have\nexisting on-premises systems that require private, low-latency connectivity over a\n10Gbps dedicated interconnect. We use Entra ID for corporate single sign-on and\nGitHub Actions for our delivery pipelines. Security requires that all egress\ntraffic flows through centralised inspection appliances before touching the public\ninternet, and customer data must be encrypted with keys we control.\n",
"requirements": [
{
"id": "REQ-01",
"category": "Timeline",
"statement": "Platform foundation must be ready for workload ingestion within 10 weeks."
},
{
"id": "REQ-02",
"category": "Compliance",
"statement": "Must achieve DORA resiliency alignment and PCI-DSS v4.0 perimeter isolation."
},
{
"id": "REQ-03",
"category": "Networking",
"statement": "10Gbps on-premises hybrid connectivity; centralised inspection appliances for egress."
},
{
"id": "REQ-04",
"category": "Identity and security",
"statement": "Workload identity federation with GitHub Actions; Entra ID single sign-on; customer-managed encryption keys."
}
],
"exclusions": [
"Application container deployment; workloads are managed by application squads.",
"An active-active secondary region in phase 1; warm standby is acceptable."
]
},
"estate": {
"cloud_provider": "gcp",
"mode": "greenfield",
"regions": {
"primary": "europe-west2",
"secondary": "europe-west1",
"resiliency_tier": "warm_standby"
},
"data_residency": "United Kingdom and European Union",
"existing_systems": "On-premises payment systems that stay in place and connect over the interconnect."
},
"workload": {
"availability": {
"hours": "always"
}
},
"compliance": {
"industry": "financial_services",
"frameworks": [
"DORA",
"ISO27001",
"PCI_DSS_v4"
],
"data_classification": "confidential",
"encryption": {
"type": "cmek",
"key_rotation_days": 90
},
"audit_logging": {
"retention_days": 365,
"immutable_retention_policy": true
}
},
"networking": {
"exposure": "internal_only",
"topology": "shared_vpc_hub_and_spoke",
"hybrid_connectivity": {
"enabled": true,
"type": "cloud_interconnect",
"bandwidth_gbps": 10
},
"egress_control": {
"model": "centralized_appliance"
}
},
"governance": {
"identity_source_of_truth": "Entra ID",
"pipeline_authentication": "workload identity federation",
"environment_tiers": [
{
"name": "development",
"archetype": "corp_workload"
},
{
"name": "staging",
"archetype": "corp_workload"
},
{
"name": "production",
"archetype": "pci_regulated_workload"
}
]
},
"operations": {
"operating_model": "central platform team brokering access for application squads",
"support_hours": "always"
},
"delivery": {
"window_weeks": 10,
"commercial_model": "fixed_price_milestone",
"iac_tooling": "terraform",
"ci_cd": "GitHub Actions",
"team_size": 3,
"working_days_per_week": 5
},
"cost": {
"currency": "GBP"
}
},
"binding": [
"estate.regions.primary",
"estate.regions.secondary",
"estate.regions.resiliency_tier",
"estate.data_residency",
"compliance.frameworks",
"compliance.data_classification",
"compliance.encryption.type",
"compliance.encryption.key_rotation_days",
"compliance.audit_logging.retention_days",
"compliance.audit_logging.immutable_retention_policy",
"networking.exposure",
"networking.topology",
"networking.hybrid_connectivity.enabled",
"networking.hybrid_connectivity.type",
"networking.hybrid_connectivity.bandwidth_gbps",
"networking.egress_control.model",
"governance.identity_source_of_truth",
"governance.pipeline_authentication",
"governance.environment_tiers"
],
"assumed": [
{
"field": "intent.success_criteria",
"value": [
"Platform foundation ready for workload ingestion within 10 weeks",
"Compliance achieved with DORA and PCI-DSS v4.0 requirements",
"Hybrid connectivity established via 10Gbps Dedicated Interconnect",
"Centralised egress inspection operational",
"Identity federation and CMEK security controls implemented"
],
"why": "Assumed standard success criteria based on delivery within 10 weeks and compliance with DORA and PCI-DSS v4.0."
},
{
"field": "workload.availability.target",
"value": "99.9%",
"why": "Assumed 99.9% availability target for platform foundation infrastructure aligned with warm standby secondary region."
},
{
"field": "workload.availability.recovery_time",
"value": "4 hours",
"why": "Assumed 4 hours recovery time objective (RTO) for platform foundation services in warm standby."
},
{
"field": "workload.availability.recovery_point",
"value": "1 hour",
"why": "Assumed 1 hour recovery point objective (RPO) for platform foundation configuration and state."
},
{
"field": "networking.egress_control.appliance_vendor",
"value": "Palo Alto Networks VM-Series",
"why": "Assumed Palo Alto Networks VM-Series as enterprise inspection appliance for centralized egress control."
},
{
"field": "networking.cidr_allocations",
"value": "RFC 1918 non-overlapping IP allocation (10.0.0.0/16 partitioned across environments) sized for growth",
"why": "Assumed RFC 1918 non-overlapping IP allocation (10.0.0.0/16 partitioned across environments) sized for growth."
},
{
"field": "operations.monitoring",
"value": "Google Cloud Operations Suite with availability and error alerting",
"why": "Assumed native Google Cloud Operations Suite (Cloud Monitoring and Cloud Logging) with availability and error alerting."
},
{
"field": "operations.change_process",
"value": "GitHub Actions pull request workflow with automated Terraform plan validation and peer review",
"why": "Assumed GitHub Actions pull request workflow with automated Terraform plan validation and peer approval."
},
{
"field": "integrations",
"value": [
{
"criticality": "critical",
"direction": "bidirectional",
"name": "On-premises core payment systems"
}
],
"why": "Assumed integration with existing on-premises core payment systems via Dedicated Interconnect."
},
{
"field": "cost.monthly_budget",
"value": 25000,
"why": "Assumed indicative monthly foundation infrastructure budget of 25000 GBP for 10Gbps interconnect, inspection appliances, and core services."
},
{
"field": "constraints.products_required",
"value": [],
"why": "No mandated third-party products beyond stated tooling (GCP, Terraform, GitHub Actions, Entra ID)."
},
{
"field": "constraints.products_forbidden",
"value": [],
"why": "No forbidden products specified."
}
],
"to_decide": [],
"to_ask": [
{
"field": "metadata.engagement_reference",
"prompt": "What is metadata.engagement_reference?",
"severity": "LOW"
},
{
"field": "delivery.target_start_date",
"prompt": "When should work start?",
"severity": "LOW"
},
{
"field": "constraints.other",
"prompt": "What is constraints.other?",
"severity": "LOW"
}
],
"not_applicable": [
"workload.users.count",
"workload.users.peak_concurrent",
"workload.users.who"
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,529 @@
{
"dry_run": {
"evidence": "Success! The configuration is valid.",
"verdict": "pass"
},
"checks": [
{
"check": "K-1",
"evidence": "display_name = \"Dev Folder\"",
"verdict": "pass"
},
{
"check": "K-2",
"evidence": "display_name = \"Staging Folder\"",
"verdict": "pass"
},
{
"verdict": "pass",
"check": "K-3",
"evidence": "display_name = \"Production Folder\""
},
{
"verdict": "pass",
"evidence": "tag_value = google_tags_tag_value.corp_workload.id",
"check": "K-4"
},
{
"check": "K-5",
"verdict": "pass",
"evidence": "host_project = google_compute_shared_vpc_host_project.hub.project"
},
{
"verdict": "pass",
"evidence": "host_project = google_compute_shared_vpc_host_project.hub.project",
"check": "K-6"
},
{
"check": "K-7",
"evidence": "host_project = google_compute_shared_vpc_host_project.hub.project",
"verdict": "pass"
},
{
"verdict": "pass",
"evidence": "private_ip_google_access = true",
"check": "K-8"
},
{
"check": "K-9",
"evidence": "private_ip_google_access = true",
"verdict": "pass"
},
{
"check": "K-10",
"evidence": "direction = \"INGRESS\"",
"verdict": "pass"
},
{
"check": "K-11",
"verdict": "pass",
"evidence": "protocol = \"all\""
},
{
"verdict": "pass",
"evidence": "source_ranges = [\"0.0.0.0/0\"]",
"check": "K-12"
},
{
"check": "K-13",
"evidence": "type = \"DEDICATED\"",
"verdict": "pass"
},
{
"evidence": "type = \"DEDICATED\"",
"verdict": "pass",
"check": "K-14"
},
{
"check": "K-15",
"verdict": "pass",
"evidence": "bandwidth = \"BPS_10G\""
},
{
"evidence": "bandwidth = \"BPS_10G\"",
"verdict": "pass",
"check": "K-16"
},
{
"verdict": "pass",
"evidence": "router = google_compute_router.primary.id",
"check": "K-17"
},
{
"evidence": "network = google_compute_network.hub.id",
"verdict": "pass",
"check": "K-18"
},
{
"check": "K-19",
"evidence": "dest_range = \"0.0.0.0/0\"",
"verdict": "pass"
},
{
"verdict": "pass",
"check": "K-20",
"evidence": "next_hop_ilb = google_compute_forwarding_rule.palo_alto_ilb.id"
},
{
"verdict": "pass",
"check": "K-21",
"evidence": "issuer_uri = \"https://token.actions.githubusercontent.com\""
},
{
"verdict": "pass",
"check": "K-22",
"evidence": "member = \"principalSet://iam.googleapis.com/${google_iam_workload_identity_pool.wif_pool.name}/attribute.repository/my-org/my-repo\""
},
{
"evidence": "idp_metadata_xml = \"<EntityDescriptor></EntityDescriptor>\"",
"verdict": "pass",
"check": "K-23"
},
{
"evidence": "purpose = \"ENCRYPT_DECRYPT\"",
"verdict": "pass",
"check": "K-24"
},
{
"check": "K-25",
"evidence": "purpose = \"ENCRYPT_DECRYPT\"",
"verdict": "pass"
},
{
"check": "K-26",
"verdict": "pass",
"evidence": "rotation_period = \"7776000s\""
},
{
"check": "K-27",
"evidence": "rotation_period = \"7776000s\"",
"verdict": "pass"
},
{
"evidence": "destination = \"storage.googleapis.com/${google_storage_bucket.audit_logs.name}\"",
"verdict": "pass",
"check": "K-28"
},
{
"check": "K-29",
"verdict": "pass",
"evidence": "retention_period = 31536000"
},
{
"check": "K-30",
"verdict": "pass",
"evidence": "is_locked = true"
},
{
"evidence": "restricted_services = [\"compute.googleapis.com\"]",
"verdict": "pass",
"check": "K-31"
},
{
"check": "K-32",
"evidence": "role = \"roles/cloudkms.cryptoKeyEncrypterDecrypter\"",
"verdict": "pass"
},
{
"check": "K-33",
"evidence": "region = \"europe-west2\"",
"verdict": "pass"
},
{
"check": "K-34",
"verdict": "pass",
"evidence": "region = \"europe-west2\""
},
{
"verdict": "pass",
"check": "K-35",
"evidence": "region = \"europe-west1\""
},
{
"verdict": "pass",
"evidence": "constraint = \"gcp.resourceLocations\"",
"check": "K-36"
},
{
"check": "K-37",
"verdict": "pass",
"evidence": "values = [\"in:europe-west2\", \"in:europe-west1\"]"
},
{
"check": "K-38",
"evidence": "project = var.project_id",
"verdict": "pass"
},
{
"verdict": "pass",
"evidence": "distribution_policy_zones = [\"europe-west2-a\", \"europe-west2-b\", \"europe-west2-c\"]",
"check": "K-39"
},
{
"verdict": "pass",
"check": "K-40",
"evidence": "notification_channels = [google_monitoring_notification_channel.email.name]"
},
{
"verdict": "pass",
"evidence": "condition_threshold is defined",
"check": "K-41"
},
{
"evidence": "currency_code = \"GBP\"",
"check": "K-42",
"verdict": "pass"
},
{
"verdict": "pass",
"evidence": "threshold_percent includes 0.5, 0.8, 0.9, 1.0",
"check": "K-43"
},
{
"check": "K-44",
"verdict": "pass",
"evidence": "units = \"25000\""
},
{
"evidence": "advertise_mode = \"CUSTOM\"",
"verdict": "pass",
"check": "K-45"
},
{
"verdict": "pass",
"evidence": "advertise_mode = \"CUSTOM\"",
"check": "K-46"
},
{
"verdict": "pass",
"evidence": "bandwidth = \"BPS_10G\"",
"check": "K-47"
},
{
"evidence": "bandwidth = \"BPS_10G\"",
"verdict": "pass",
"check": "K-48"
},
{
"check": "K-49",
"verdict": "pass",
"evidence": "values = [\"in:europe-west2\", \"in:europe-west1\"]"
},
{
"evidence": "resources = [\"projects/${var.prod_project_id}\", \"projects/${var.project_id}\"]",
"check": "K-50",
"verdict": "pass"
},
{
"verdict": "pass",
"check": "K-51",
"evidence": "ingress_policies and egress_policies are configured"
},
{
"verdict": "pass",
"evidence": "constraint = \"compute.skipDefaultNetworkCreation\"",
"check": "K-52"
},
{
"evidence": "enforced = true",
"verdict": "pass",
"check": "K-53"
},
{
"check": "K-54",
"evidence": "constraint = \"compute.vmExternalIpAccess\"",
"verdict": "pass"
},
{
"verdict": "pass",
"evidence": "all = true",
"check": "K-55"
},
{
"evidence": "constraint = \"iam.disableServiceAccountKeyCreation\"",
"check": "K-56",
"verdict": "pass"
},
{
"check": "K-57",
"evidence": "enforced = true",
"verdict": "pass"
},
{
"verdict": "pass",
"check": "K-58",
"evidence": "constraint = \"gcp.resourceLocations\""
},
{
"evidence": "values = [\"in:europe-west2\", \"in:europe-west1\"]",
"verdict": "pass",
"check": "K-59"
},
{
"verdict": "pass",
"check": "K-60",
"evidence": "enable_confidential_compute = true"
},
{
"check": "K-61",
"evidence": "name = \"CREDIT_CARD_NUMBER\"",
"verdict": "pass"
},
{
"check": "K-62",
"evidence": "event_data_content_type = \"application/json\"",
"verdict": "pass"
},
{
"evidence": "attribute = \"type\", value = \"google.cloud.securitycenter.finding.v1.saved\"",
"check": "K-63",
"verdict": "pass"
},
{
"evidence": "event_type = \"google.cloud.securitycenter.finding.v1.saved\"",
"verdict": "pass",
"check": "K-64"
},
{
"verdict": "pass",
"evidence": "interconnect = var.interconnect_1_url",
"check": "K-65"
},
{
"evidence": "interconnect = var.interconnect_2_url",
"verdict": "pass",
"check": "K-66"
},
{
"check": "K-67",
"evidence": "router = google_compute_router.primary.id",
"verdict": "pass"
},
{
"check": "K-68",
"evidence": "session_initialization_mode = \"ACTIVE\"",
"verdict": "pass"
},
{
"verdict": "pass",
"check": "K-69",
"evidence": "distribution_policy_zones = [\"europe-west2-a\", \"europe-west2-b\", \"europe-west2-c\"]"
},
{
"evidence": "load_balancing_scheme = \"INTERNAL\"",
"check": "K-70",
"verdict": "pass"
},
{
"evidence": "health_checks = [google_compute_health_check.palo_alto_ilb_hc.id]",
"verdict": "pass",
"check": "K-71"
},
{
"verdict": "pass",
"check": "K-72",
"evidence": "location = \"europe-west2\""
},
{
"evidence": "location = \"europe-west1\"",
"check": "K-73",
"verdict": "pass"
},
{
"evidence": "role = \"roles/cloudkms.cryptoKeyDecrypter\"",
"verdict": "pass",
"check": "K-74"
},
{
"verdict": "pass",
"evidence": "data_locations = [\"EUROPE-WEST1\", \"EUROPE-WEST2\"]",
"check": "K-75"
},
{
"check": "K-76",
"verdict": "pass",
"evidence": "name = \"${var.project_id}-tfstate-primary\""
},
{
"evidence": "name = \"${var.project_id}-tfstate-secondary\"",
"check": "K-77",
"verdict": "pass"
},
{
"evidence": "enabled = true",
"check": "K-78",
"verdict": "pass"
},
{
"check": "K-79",
"evidence": "enabled = true",
"verdict": "pass"
},
{
"evidence": "goal = 0.999",
"verdict": "pass",
"check": "K-80"
},
{
"evidence": "filter = \"select_slo_burn_rate(\\\"${google_monitoring_slo.platform_slo.name}\\\", 3600s)\"",
"verdict": "pass",
"check": "K-81"
},
{
"verdict": "pass",
"check": "K-82",
"evidence": "service = \"recommender.googleapis.com\""
},
{
"verdict": "pass",
"evidence": "age = 30",
"check": "K-83"
},
{
"verdict": "pass",
"check": "K-84",
"evidence": "type = \"SetStorageClass\", storage_class = \"NEARLINE\""
},
{
"check": "K-85",
"verdict": "pass",
"evidence": "age = 90"
},
{
"check": "K-86",
"evidence": "type = \"SetStorageClass\", storage_class = \"ARCHIVE\"",
"verdict": "pass"
},
{
"verdict": "pass",
"check": "K-87",
"evidence": "routing_mode = \"REGIONAL\""
},
{
"evidence": "min_replicas = 1",
"check": "K-88",
"verdict": "pass"
},
{
"evidence": "short_name = \"environment\"",
"check": "K-89",
"verdict": "pass"
},
{
"verdict": "pass",
"check": "K-90",
"evidence": "destination = \"bigquery.googleapis.com/...\""
},
{
"verdict": "pass",
"check": "K-91",
"evidence": "tag_value = google_tags_tag_value.pci_regulated.id"
},
{
"check": "K-92",
"evidence": "check_interval_sec = 5",
"verdict": "pass"
},
{
"verdict": "pass",
"check": "K-93",
"evidence": "disabled = false"
},
{
"verdict": "pass",
"check": "K-94",
"evidence": "disabled = false"
},
{
"evidence": "display_name = \"Platform Custom Service\"",
"check": "K-95",
"verdict": "pass"
},
{
"check": "K-96",
"verdict": "pass",
"evidence": "base_instance_name = \"palo-alto-secondary\""
},
{
"verdict": "pass",
"evidence": "session_initialization_mode = \"ACTIVE\"",
"check": "K-97"
},
{
"evidence": "min_receive_interval = 100",
"check": "K-99",
"verdict": "pass"
},
{
"check": "K-100",
"verdict": "pass",
"evidence": "min_receive_interval = 100"
},
{
"check": "K-101",
"evidence": "role = \"roles/cloudkms.cryptoKeyDecrypter\"",
"verdict": "pass"
},
{
"evidence": "tag_value = google_tags_tag_value.corp_workload.id",
"verdict": "pass",
"check": "K-102"
},
{
"verdict": "pass",
"evidence": "router = google_compute_router.primary.id",
"check": "K-103"
},
{
"verdict": "pass",
"evidence": "min_transmit_interval = 100",
"check": "K-104"
},
{
"check": "K-105",
"evidence": "min_transmit_interval = 100",
"verdict": "pass"
}
],
"proposed_additions": []
}

View File

@@ -0,0 +1,332 @@
{
"work_packages": [
{
"id": "WP-0",
"name": "Platform Foundation",
"parent": null,
"elements": [],
"scope": "The complete enterprise-grade landing zone.",
"produces": [
"an operational landing zone"
],
"skills": [
"cloud architecture"
]
},
{
"id": "WP-1",
"name": "Automated Infrastructure Orchestration",
"parent": "WP-0",
"elements": [
"E-42",
"E-43"
],
"scope": "CI/CD orchestration, state management, and API enablement.",
"produces": [
"Terraform state buckets for primary and secondary regions"
],
"skills": [
"cloud engineering"
]
},
{
"id": "WP-2",
"name": "Federated Identity and Role Governance",
"parent": "WP-0",
"elements": [
"E-23",
"E-24",
"E-25",
"E-26",
"E-27",
"E-45"
],
"scope": "Authentication for delivery pipelines and workforce SSO.",
"produces": [
"Workload Identity Federation for GitHub Actions and Entra ID SSO"
],
"skills": [
"identity and access management"
]
},
{
"id": "WP-3",
"name": "Resource Hierarchy and Environment Boundary",
"parent": "WP-0",
"elements": [
"E-1",
"E-2",
"E-3",
"E-4",
"E-5",
"E-6",
"E-7",
"E-8",
"E-9",
"E-10",
"E-34",
"E-35",
"E-36",
"E-37",
"E-38",
"E-50",
"E-51",
"E-55",
"E-60"
],
"scope": "Google Cloud resource hierarchy, shared VPC projects, networking, and organization policies.",
"produces": [
"Folders, projects, networking, and organization policies ensuring isolation"
],
"skills": [
"cloud engineering",
"network engineering"
]
},
{
"id": "WP-4",
"name": "Cryptographic Key Lifecycle",
"parent": "WP-0",
"elements": [
"E-28",
"E-29",
"E-30",
"E-31",
"E-49",
"E-58",
"E-59"
],
"scope": "Customer-managed encryption keys (CMEK) and cryptographic isolation.",
"produces": [
"Primary and secondary KMS key rings and crypto keys with IAM bindings"
],
"skills": [
"security engineering"
]
},
{
"id": "WP-5",
"name": "Audit, Compliance, and Financial Governance",
"parent": "WP-0",
"elements": [
"E-21",
"E-22",
"E-33",
"E-39",
"E-46",
"E-54"
],
"scope": "Immutable compliance logs, DLP templates, and budget enforcement.",
"produces": [
"Immutable audit log storage, billing budgets, and DLP inspection templates"
],
"skills": [
"cloud engineering",
"finops"
]
},
{
"id": "WP-6",
"name": "Centralised Outbound Traffic Inspection",
"parent": "WP-0",
"elements": [
"E-15",
"E-16",
"E-17",
"E-18",
"E-19",
"E-20",
"E-47",
"E-48",
"E-53"
],
"scope": "Egress inspection and threat prevention using Palo Alto VM-Series.",
"produces": [
"Palo Alto VM-Series firewalls with internal load balancing and egress routing"
],
"skills": [
"network security engineering"
]
},
{
"id": "WP-7",
"name": "Dedicated Private Hybrid Connectivity",
"parent": "WP-0",
"elements": [
"E-11",
"E-12",
"E-13",
"E-14",
"E-56",
"E-57"
],
"scope": "Dedicated Interconnect termination and dynamic BGP routing.",
"produces": [
"Primary and secondary Cloud Routers with Dedicated Interconnect VLAN attachments"
],
"skills": [
"network engineering"
]
},
{
"id": "WP-8",
"name": "Platform Telemetry and Operational Alerting",
"parent": "WP-0",
"elements": [
"E-32",
"E-40",
"E-41",
"E-44",
"E-52"
],
"scope": "SLO tracking, multi-burn-rate alerting, and SCC automated remediation.",
"produces": [
"SLOs, alerting policies, and SCC automated remediation functions"
],
"skills": [
"site reliability engineering"
]
}
],
"activities": [
{
"id": "A-1",
"work_package": "WP-1",
"name": "Enable Google Cloud APIs",
"days": 0.5,
"after": []
},
{
"id": "A-2",
"work_package": "WP-1",
"name": "Setup CI/CD Pipeline and State Buckets",
"days": 1,
"after": [
"A-1"
]
},
{
"id": "A-3",
"work_package": "WP-2",
"name": "Configure Workload Identity and Entra ID SSO",
"days": 1.5,
"after": [
"A-2"
]
},
{
"id": "A-4",
"work_package": "WP-3",
"name": "Provision Resource Hierarchy and Enforce Org Policies",
"days": 2.5,
"after": [
"A-3"
]
},
{
"id": "A-5",
"work_package": "WP-3",
"name": "Provision Hub and Spoke VPC Networks",
"days": 2,
"after": [
"A-4"
]
},
{
"id": "A-6",
"work_package": "WP-7",
"name": "Order and provision the Interconnect carrier circuits",
"days": 30,
"owner": "customer",
"assumption": "The customer manages the carrier's lead time and physical cross-connects.",
"after": []
},
{
"id": "A-7",
"work_package": "WP-4",
"name": "Configure Cloud KMS and Key Rings",
"days": 1.5,
"after": [
"A-4"
]
},
{
"id": "A-8",
"work_package": "WP-5",
"name": "Set up Audit Logging, DLP, and Billing Budgets",
"days": 2,
"after": [
"A-4"
]
},
{
"id": "A-9",
"work_package": "WP-6",
"name": "Deploy Palo Alto Egress Firewall Appliances",
"days": 5,
"after": [
"A-5"
]
},
{
"id": "A-10",
"work_package": "WP-7",
"name": "Configure Cloud Routers and Terminate BGP over Interconnect",
"days": 3,
"after": [
"A-5",
"A-6"
]
},
{
"id": "A-11",
"work_package": "WP-3",
"name": "Implement VPC Service Controls",
"days": 2,
"after": [
"A-5",
"A-7",
"A-8"
]
},
{
"id": "A-12",
"work_package": "WP-8",
"name": "Deploy Platform Telemetry, SLOs, and SCC Auto-remediation",
"days": 2.5,
"after": [
"A-8",
"A-11"
]
},
{
"id": "A-13",
"work_package": "WP-1",
"name": "Run validation in development environment",
"days": 1,
"after": [
"A-9",
"A-10",
"A-12"
]
},
{
"id": "A-14",
"work_package": "WP-1",
"name": "Run validation in staging environment",
"days": 1,
"after": [
"A-13"
]
},
{
"id": "A-15",
"work_package": "WP-1",
"name": "Run validation in production environment",
"days": 1,
"after": [
"A-14"
]
}
]
}