feat: working TOM agent
This commit is contained in:
248
tests/fixtures/architecture/case-08-landing-zone/recommendations.json
vendored
Normal file
248
tests/fixtures/architecture/case-08-landing-zone/recommendations.json
vendored
Normal 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": []
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user