1210 lines
30 KiB
JSON
1210 lines
30 KiB
JSON
{
|
|
"elements": [
|
|
{
|
|
"resource_type": "google_folder",
|
|
"product": "Resource Manager",
|
|
"component": "C-1",
|
|
"name": "Dev Folder",
|
|
"id": "E-1"
|
|
},
|
|
{
|
|
"resource_type": "google_folder",
|
|
"id": "E-2",
|
|
"product": "Resource Manager",
|
|
"component": "C-1",
|
|
"name": "Staging Folder"
|
|
},
|
|
{
|
|
"component": "C-1",
|
|
"name": "Production Folder",
|
|
"id": "E-3",
|
|
"resource_type": "google_folder",
|
|
"product": "Resource Manager"
|
|
},
|
|
{
|
|
"resource_type": "google_compute_shared_vpc_host_project",
|
|
"name": "Shared VPC Host Project",
|
|
"product": "Resource Manager",
|
|
"id": "E-4",
|
|
"component": "C-1"
|
|
},
|
|
{
|
|
"product": "Resource Manager",
|
|
"component": "C-1",
|
|
"resource_type": "google_compute_shared_vpc_service_project",
|
|
"name": "Dev Spoke Project",
|
|
"id": "E-5"
|
|
},
|
|
{
|
|
"name": "Stg Spoke Project",
|
|
"product": "Resource Manager",
|
|
"component": "C-1",
|
|
"resource_type": "google_compute_shared_vpc_service_project",
|
|
"id": "E-6"
|
|
},
|
|
{
|
|
"product": "Resource Manager",
|
|
"id": "E-7",
|
|
"name": "Prod Spoke Project",
|
|
"component": "C-1",
|
|
"resource_type": "google_compute_shared_vpc_service_project"
|
|
},
|
|
{
|
|
"product": "Resource Manager",
|
|
"name": "Hub VPC Network",
|
|
"component": "C-1",
|
|
"id": "E-8",
|
|
"resource_type": "google_compute_network"
|
|
},
|
|
{
|
|
"id": "E-9",
|
|
"resource_type": "google_compute_subnetwork",
|
|
"name": "Dev Subnetwork",
|
|
"component": "C-1",
|
|
"product": "Resource Manager"
|
|
},
|
|
{
|
|
"resource_type": "google_compute_subnetwork",
|
|
"component": "C-1",
|
|
"id": "E-10",
|
|
"name": "Prod Subnetwork",
|
|
"product": "Resource Manager"
|
|
},
|
|
{
|
|
"resource_type": "google_compute_router",
|
|
"id": "E-11",
|
|
"name": "Primary Cloud Router",
|
|
"component": "C-2",
|
|
"product": "Cloud Interconnect"
|
|
},
|
|
{
|
|
"resource_type": "google_compute_router",
|
|
"name": "Secondary Cloud Router",
|
|
"id": "E-12",
|
|
"component": "C-2",
|
|
"product": "Cloud Interconnect"
|
|
},
|
|
{
|
|
"product": "Cloud Interconnect",
|
|
"id": "E-13",
|
|
"name": "Primary VLAN Attachment 1",
|
|
"resource_type": "google_compute_interconnect_attachment",
|
|
"component": "C-2"
|
|
},
|
|
{
|
|
"id": "E-14",
|
|
"component": "C-2",
|
|
"resource_type": "google_compute_interconnect_attachment",
|
|
"name": "Primary VLAN Attachment 2",
|
|
"product": "Cloud Interconnect"
|
|
},
|
|
{
|
|
"name": "Palo Alto Instance Template",
|
|
"component": "C-3",
|
|
"id": "E-15",
|
|
"product": "Palo Alto Networks VM-Series",
|
|
"resource_type": "google_compute_instance_template"
|
|
},
|
|
{
|
|
"id": "E-16",
|
|
"name": "Palo Alto MIG Primary",
|
|
"resource_type": "google_compute_region_instance_group_manager",
|
|
"component": "C-3",
|
|
"product": "Palo Alto Networks VM-Series"
|
|
},
|
|
{
|
|
"id": "E-17",
|
|
"component": "C-3",
|
|
"resource_type": "google_compute_forwarding_rule",
|
|
"name": "Palo Alto ILB",
|
|
"product": "Palo Alto Networks VM-Series"
|
|
},
|
|
{
|
|
"name": "Palo Alto ILB Backend",
|
|
"resource_type": "google_compute_region_backend_service",
|
|
"component": "C-3",
|
|
"id": "E-18",
|
|
"product": "Palo Alto Networks VM-Series"
|
|
},
|
|
{
|
|
"resource_type": "google_compute_health_check",
|
|
"component": "C-3",
|
|
"name": "Palo Alto ILB Health Check",
|
|
"product": "Palo Alto Networks VM-Series",
|
|
"id": "E-19"
|
|
},
|
|
{
|
|
"component": "C-3",
|
|
"id": "E-20",
|
|
"name": "Egress Route to ILB",
|
|
"resource_type": "google_compute_route",
|
|
"product": "Palo Alto Networks VM-Series"
|
|
},
|
|
{
|
|
"id": "E-21",
|
|
"component": "C-4",
|
|
"name": "Audit Logs Storage Bucket",
|
|
"product": "Cloud Storage",
|
|
"resource_type": "google_storage_bucket"
|
|
},
|
|
{
|
|
"component": "C-4",
|
|
"product": "Cloud Storage",
|
|
"id": "E-22",
|
|
"name": "Audit Log Sink",
|
|
"resource_type": "google_logging_project_sink"
|
|
},
|
|
{
|
|
"product": "IAM Workload Identity Federation",
|
|
"id": "E-23",
|
|
"component": "C-6",
|
|
"name": "WIF Pool",
|
|
"resource_type": "google_iam_workload_identity_pool"
|
|
},
|
|
{
|
|
"name": "WIF Provider GitHub",
|
|
"product": "IAM Workload Identity Federation",
|
|
"id": "E-24",
|
|
"resource_type": "google_iam_workload_identity_pool_provider",
|
|
"component": "C-6"
|
|
},
|
|
{
|
|
"component": "C-6",
|
|
"resource_type": "google_iam_workforce_pool_provider",
|
|
"name": "WIF Provider Entra ID",
|
|
"product": "IAM Workload Identity Federation",
|
|
"id": "E-25"
|
|
},
|
|
{
|
|
"product": "IAM Workload Identity Federation",
|
|
"name": "Pipeline Service Account",
|
|
"component": "C-6",
|
|
"id": "E-26",
|
|
"resource_type": "google_service_account"
|
|
},
|
|
{
|
|
"name": "Pipeline SA WIF Binding",
|
|
"resource_type": "google_service_account_iam_member",
|
|
"id": "E-27",
|
|
"product": "IAM Workload Identity Federation",
|
|
"component": "C-6"
|
|
},
|
|
{
|
|
"product": "Cloud KMS",
|
|
"resource_type": "google_kms_key_ring",
|
|
"name": "Primary KMS Key Ring",
|
|
"id": "E-28",
|
|
"component": "C-7"
|
|
},
|
|
{
|
|
"product": "Cloud KMS",
|
|
"resource_type": "google_kms_crypto_key",
|
|
"component": "C-7",
|
|
"name": "Primary KMS Crypto Key",
|
|
"id": "E-29"
|
|
},
|
|
{
|
|
"name": "Secondary KMS Key Ring",
|
|
"id": "E-30",
|
|
"product": "Cloud KMS",
|
|
"component": "C-7",
|
|
"resource_type": "google_kms_key_ring"
|
|
},
|
|
{
|
|
"product": "Cloud KMS",
|
|
"name": "Secondary KMS Crypto Key",
|
|
"component": "C-7",
|
|
"resource_type": "google_kms_crypto_key",
|
|
"id": "E-31"
|
|
},
|
|
{
|
|
"resource_type": "google_monitoring_alert_policy",
|
|
"name": "Platform Alert Policy",
|
|
"product": "Cloud Monitoring",
|
|
"component": "C-8",
|
|
"id": "E-32"
|
|
},
|
|
{
|
|
"product": "Cloud Billing",
|
|
"name": "Foundation Cloud Budget",
|
|
"component": "C-9",
|
|
"resource_type": "google_billing_budget",
|
|
"id": "E-33"
|
|
},
|
|
{
|
|
"id": "E-34",
|
|
"name": "Org Policy skipDefaultNetworkCreation",
|
|
"resource_type": "google_project_organization_policy",
|
|
"component": "C-1",
|
|
"product": "Resource Manager"
|
|
},
|
|
{
|
|
"component": "C-1",
|
|
"id": "E-35",
|
|
"name": "Org Policy vmExternalIpAccess",
|
|
"resource_type": "google_project_organization_policy",
|
|
"product": "Resource Manager"
|
|
},
|
|
{
|
|
"resource_type": "google_project_organization_policy",
|
|
"name": "Org Policy disableServiceAccountKeyCreation",
|
|
"id": "E-36",
|
|
"product": "Resource Manager",
|
|
"component": "C-1"
|
|
},
|
|
{
|
|
"resource_type": "google_project_organization_policy",
|
|
"product": "Resource Manager",
|
|
"component": "C-1",
|
|
"name": "Org Policy resourceLocations",
|
|
"id": "E-37"
|
|
},
|
|
{
|
|
"name": "VPC SC Perimeter",
|
|
"component": "C-1",
|
|
"product": "Resource Manager",
|
|
"resource_type": "google_access_context_manager_service_perimeter",
|
|
"id": "E-38"
|
|
},
|
|
{
|
|
"name": "DLP Inspect Template",
|
|
"component": "C-4",
|
|
"resource_type": "google_data_loss_prevention_inspect_template",
|
|
"product": "Cloud Storage",
|
|
"id": "E-39"
|
|
},
|
|
{
|
|
"id": "E-40",
|
|
"product": "Cloud Monitoring",
|
|
"name": "SCC Eventarc Trigger",
|
|
"resource_type": "google_eventarc_trigger",
|
|
"component": "C-8"
|
|
},
|
|
{
|
|
"product": "Cloud Monitoring",
|
|
"resource_type": "google_cloudfunctions2_function",
|
|
"component": "C-8",
|
|
"name": "SCC Remediation Function",
|
|
"id": "E-41"
|
|
},
|
|
{
|
|
"component": "C-5",
|
|
"id": "E-42",
|
|
"name": "Primary TF State Bucket",
|
|
"resource_type": "google_storage_bucket",
|
|
"product": "GitHub Actions"
|
|
},
|
|
{
|
|
"resource_type": "google_storage_bucket",
|
|
"id": "E-43",
|
|
"product": "GitHub Actions",
|
|
"component": "C-5",
|
|
"name": "Secondary TF State Bucket"
|
|
},
|
|
{
|
|
"product": "Cloud Monitoring",
|
|
"component": "C-8",
|
|
"resource_type": "google_monitoring_slo",
|
|
"name": "Platform SLO",
|
|
"id": "E-44"
|
|
},
|
|
{
|
|
"id": "E-45",
|
|
"component": "C-6",
|
|
"resource_type": "google_project_service",
|
|
"name": "IAM Recommender Service",
|
|
"product": "IAM Workload Identity Federation"
|
|
},
|
|
{
|
|
"resource_type": "google_tags_tag_key",
|
|
"name": "Taxonomy Tag Key",
|
|
"component": "C-9",
|
|
"product": "Cloud Billing",
|
|
"id": "E-46"
|
|
},
|
|
{
|
|
"product": "Palo Alto Networks VM-Series",
|
|
"component": "C-3",
|
|
"resource_type": "google_compute_region_autoscaler",
|
|
"name": "Standby MIG Autoscaler",
|
|
"id": "E-47"
|
|
},
|
|
{
|
|
"name": "Deny Ingress Firewall",
|
|
"resource_type": "google_compute_firewall",
|
|
"component": "C-3",
|
|
"product": "Palo Alto Networks VM-Series",
|
|
"id": "E-48"
|
|
},
|
|
{
|
|
"component": "C-7",
|
|
"id": "E-49",
|
|
"name": "KMS IAM Binding",
|
|
"resource_type": "google_kms_crypto_key_iam_member",
|
|
"product": "Cloud KMS"
|
|
},
|
|
{
|
|
"id": "E-50",
|
|
"component": "C-1",
|
|
"product": "Resource Manager",
|
|
"resource_type": "google_tags_tag_binding",
|
|
"name": "Environment Tag Binding"
|
|
},
|
|
{
|
|
"name": "Payment Engine Template",
|
|
"product": "Resource Manager",
|
|
"id": "E-51",
|
|
"resource_type": "google_compute_instance_template",
|
|
"component": "C-1"
|
|
},
|
|
{
|
|
"name": "Platform Custom Service",
|
|
"component": "C-8",
|
|
"product": "Cloud Monitoring",
|
|
"id": "E-52",
|
|
"resource_type": "google_monitoring_custom_service"
|
|
},
|
|
{
|
|
"name": "Palo Alto MIG Secondary",
|
|
"component": "C-3",
|
|
"resource_type": "google_compute_region_instance_group_manager",
|
|
"product": "Palo Alto Networks VM-Series",
|
|
"id": "E-53"
|
|
},
|
|
{
|
|
"product": "Cloud Billing",
|
|
"resource_type": "google_logging_project_sink",
|
|
"name": "Billing BigQuery Sink",
|
|
"component": "C-9",
|
|
"id": "E-54"
|
|
},
|
|
{
|
|
"name": "Prod Tag Binding",
|
|
"id": "E-55",
|
|
"resource_type": "google_tags_tag_binding",
|
|
"component": "C-1",
|
|
"product": "Resource Manager"
|
|
},
|
|
{
|
|
"resource_type": "google_compute_router_peer",
|
|
"id": "E-56",
|
|
"component": "C-2",
|
|
"name": "Primary BGP Peer 1",
|
|
"product": "Cloud Interconnect"
|
|
},
|
|
{
|
|
"resource_type": "google_compute_router_peer",
|
|
"id": "E-57",
|
|
"component": "C-2",
|
|
"name": "Primary BGP Peer 2",
|
|
"product": "Cloud Interconnect"
|
|
},
|
|
{
|
|
"resource_type": "google_kms_crypto_key_iam_member",
|
|
"component": "C-7",
|
|
"name": "Secondary KMS Decrypter Binding",
|
|
"id": "E-58",
|
|
"product": "Cloud KMS"
|
|
},
|
|
{
|
|
"component": "C-7",
|
|
"name": "Primary KMS Decrypter Binding",
|
|
"product": "Cloud KMS",
|
|
"resource_type": "google_kms_crypto_key_iam_member",
|
|
"id": "E-59"
|
|
},
|
|
{
|
|
"id": "E-60",
|
|
"resource_type": "google_tags_tag_binding",
|
|
"name": "Staging Tag Binding",
|
|
"component": "C-1",
|
|
"product": "Resource Manager"
|
|
}
|
|
],
|
|
"relationships": [
|
|
{
|
|
"from": "E-5",
|
|
"id": "R-1",
|
|
"kind": "uses",
|
|
"to": "E-4"
|
|
},
|
|
{
|
|
"id": "R-2",
|
|
"kind": "uses",
|
|
"to": "E-4",
|
|
"from": "E-6"
|
|
},
|
|
{
|
|
"kind": "uses",
|
|
"to": "E-4",
|
|
"id": "R-3",
|
|
"from": "E-7"
|
|
},
|
|
{
|
|
"kind": "attached to",
|
|
"to": "E-11",
|
|
"from": "E-13",
|
|
"id": "R-4"
|
|
},
|
|
{
|
|
"from": "E-14",
|
|
"to": "E-11",
|
|
"id": "R-5",
|
|
"kind": "attached to"
|
|
},
|
|
{
|
|
"kind": "instantiates",
|
|
"from": "E-16",
|
|
"id": "R-6",
|
|
"to": "E-15"
|
|
},
|
|
{
|
|
"to": "E-15",
|
|
"from": "E-53",
|
|
"id": "R-6b",
|
|
"kind": "instantiates"
|
|
},
|
|
{
|
|
"to": "E-17",
|
|
"from": "E-20",
|
|
"id": "R-7",
|
|
"kind": "routes to"
|
|
},
|
|
{
|
|
"from": "E-17",
|
|
"id": "R-8",
|
|
"kind": "routes to",
|
|
"to": "E-18"
|
|
},
|
|
{
|
|
"id": "R-9",
|
|
"kind": "checked by",
|
|
"to": "E-19",
|
|
"from": "E-18"
|
|
},
|
|
{
|
|
"from": "E-22",
|
|
"id": "R-10",
|
|
"kind": "exports to",
|
|
"to": "E-21"
|
|
},
|
|
{
|
|
"kind": "authenticates via",
|
|
"id": "R-11",
|
|
"from": "E-24",
|
|
"to": "E-23"
|
|
},
|
|
{
|
|
"from": "E-27",
|
|
"to": "E-26",
|
|
"id": "R-12",
|
|
"kind": "granted to"
|
|
},
|
|
{
|
|
"from": "E-29",
|
|
"to": "E-28",
|
|
"id": "R-13",
|
|
"kind": "contained in"
|
|
},
|
|
{
|
|
"from": "E-31",
|
|
"kind": "contained in",
|
|
"id": "R-14",
|
|
"to": "E-30"
|
|
},
|
|
{
|
|
"kind": "granted on",
|
|
"id": "R-15",
|
|
"from": "E-49",
|
|
"to": "E-29"
|
|
},
|
|
{
|
|
"id": "R-16",
|
|
"kind": "monitors",
|
|
"to": "E-52",
|
|
"from": "E-44"
|
|
},
|
|
{
|
|
"from": "E-47",
|
|
"kind": "scales",
|
|
"id": "R-17",
|
|
"to": "E-53"
|
|
},
|
|
{
|
|
"id": "R-18",
|
|
"to": "E-46",
|
|
"from": "E-50",
|
|
"kind": "binds"
|
|
},
|
|
{
|
|
"to": "E-11",
|
|
"from": "E-56",
|
|
"id": "R-19",
|
|
"kind": "contained in"
|
|
},
|
|
{
|
|
"from": "E-57",
|
|
"kind": "contained in",
|
|
"to": "E-11",
|
|
"id": "R-20"
|
|
},
|
|
{
|
|
"to": "E-31",
|
|
"kind": "granted on",
|
|
"from": "E-58",
|
|
"id": "R-21"
|
|
},
|
|
{
|
|
"to": "E-29",
|
|
"from": "E-59",
|
|
"kind": "granted on",
|
|
"id": "R-22"
|
|
},
|
|
{
|
|
"to": "E-46",
|
|
"kind": "binds",
|
|
"id": "R-23",
|
|
"from": "E-60"
|
|
}
|
|
],
|
|
"checks": [
|
|
{
|
|
"id": "K-1",
|
|
"source": "NFR-1",
|
|
"applies_to": "E-1",
|
|
"statement": "`display_name` is set"
|
|
},
|
|
{
|
|
"applies_to": "E-2",
|
|
"source": "NFR-1",
|
|
"statement": "`display_name` is set",
|
|
"id": "K-2"
|
|
},
|
|
{
|
|
"applies_to": "E-3",
|
|
"source": "NFR-1",
|
|
"statement": "`display_name` is set",
|
|
"id": "K-3"
|
|
},
|
|
{
|
|
"statement": "`tag_value` is set to the environment archetype",
|
|
"applies_to": "E-50",
|
|
"source": "NFR-1",
|
|
"id": "K-4"
|
|
},
|
|
{
|
|
"applies_to": "E-5",
|
|
"id": "K-5",
|
|
"statement": "`host_project` is set to the hub project",
|
|
"source": "NFR-2"
|
|
},
|
|
{
|
|
"source": "NFR-2",
|
|
"applies_to": "E-6",
|
|
"statement": "`host_project` is set to the hub project",
|
|
"id": "K-6"
|
|
},
|
|
{
|
|
"id": "K-7",
|
|
"source": "NFR-2",
|
|
"applies_to": "E-7",
|
|
"statement": "`host_project` is set to the hub project"
|
|
},
|
|
{
|
|
"id": "K-8",
|
|
"applies_to": "E-9",
|
|
"statement": "`private_ip_google_access` is true",
|
|
"source": "NFR-2"
|
|
},
|
|
{
|
|
"statement": "`private_ip_google_access` is true",
|
|
"applies_to": "E-10",
|
|
"source": "NFR-2",
|
|
"id": "K-9"
|
|
},
|
|
{
|
|
"statement": "`direction` is \"INGRESS\"",
|
|
"source": "NFR-2",
|
|
"applies_to": "E-48",
|
|
"id": "K-10"
|
|
},
|
|
{
|
|
"id": "K-11",
|
|
"source": "NFR-2",
|
|
"statement": "`deny.protocol` is \"all\"",
|
|
"applies_to": "E-48"
|
|
},
|
|
{
|
|
"statement": "`source_ranges` includes \"0.0.0.0/0\"",
|
|
"id": "K-12",
|
|
"applies_to": "E-48",
|
|
"source": "NFR-2"
|
|
},
|
|
{
|
|
"applies_to": "E-13",
|
|
"id": "K-13",
|
|
"statement": "`type` is \"DEDICATED\"",
|
|
"source": "NFR-3"
|
|
},
|
|
{
|
|
"statement": "`type` is \"DEDICATED\"",
|
|
"id": "K-14",
|
|
"source": "NFR-3",
|
|
"applies_to": "E-14"
|
|
},
|
|
{
|
|
"source": "NFR-3",
|
|
"applies_to": "E-13",
|
|
"id": "K-15",
|
|
"statement": "`bandwidth` is \"10G\""
|
|
},
|
|
{
|
|
"applies_to": "E-14",
|
|
"statement": "`bandwidth` is \"10G\"",
|
|
"id": "K-16",
|
|
"source": "NFR-3"
|
|
},
|
|
{
|
|
"id": "K-17",
|
|
"source": "NFR-3",
|
|
"statement": "`router` is set to the Primary Router",
|
|
"applies_to": "E-13"
|
|
},
|
|
{
|
|
"id": "K-18",
|
|
"source": "NFR-4",
|
|
"statement": "`network_interface.network` is set to the hub VPC",
|
|
"applies_to": "E-15"
|
|
},
|
|
{
|
|
"source": "NFR-4",
|
|
"applies_to": "E-20",
|
|
"id": "K-19",
|
|
"statement": "`dest_range` is \"0.0.0.0/0\""
|
|
},
|
|
{
|
|
"statement": "`next_hop_ilb` is set to the ILB forwarding rule",
|
|
"applies_to": "E-20",
|
|
"source": "NFR-4",
|
|
"id": "K-20"
|
|
},
|
|
{
|
|
"applies_to": "E-24",
|
|
"statement": "`oidc.issuer_uri` is \"https://token.actions.githubusercontent.com\"",
|
|
"source": "NFR-5",
|
|
"id": "K-21"
|
|
},
|
|
{
|
|
"id": "K-22",
|
|
"statement": "`member` includes \"principalSet://iam.googleapis.com/\"",
|
|
"applies_to": "E-27",
|
|
"source": "NFR-5"
|
|
},
|
|
{
|
|
"id": "K-23",
|
|
"applies_to": "E-25",
|
|
"statement": "`saml.idp_metadata_xml` is populated",
|
|
"source": "NFR-5"
|
|
},
|
|
{
|
|
"applies_to": "E-29",
|
|
"id": "K-24",
|
|
"source": "NFR-6",
|
|
"statement": "`purpose` is \"ENCRYPT_DECRYPT\""
|
|
},
|
|
{
|
|
"applies_to": "E-31",
|
|
"source": "NFR-6",
|
|
"id": "K-25",
|
|
"statement": "`purpose` is \"ENCRYPT_DECRYPT\""
|
|
},
|
|
{
|
|
"applies_to": "E-29",
|
|
"source": "NFR-6",
|
|
"id": "K-26",
|
|
"statement": "`rotation_period` is \"7776000s\""
|
|
},
|
|
{
|
|
"applies_to": "E-31",
|
|
"source": "NFR-6",
|
|
"id": "K-27",
|
|
"statement": "`rotation_period` is \"7776000s\""
|
|
},
|
|
{
|
|
"statement": "`destination` is set to the storage bucket",
|
|
"applies_to": "E-22",
|
|
"id": "K-28",
|
|
"source": "NFR-7"
|
|
},
|
|
{
|
|
"applies_to": "E-21",
|
|
"source": "NFR-7",
|
|
"statement": "`retention_policy.retention_period` is 31536000",
|
|
"id": "K-29"
|
|
},
|
|
{
|
|
"statement": "`retention_policy.is_locked` is true",
|
|
"source": "NFR-7",
|
|
"applies_to": "E-21",
|
|
"id": "K-30"
|
|
},
|
|
{
|
|
"id": "K-31",
|
|
"applies_to": "E-38",
|
|
"source": "NFR-8",
|
|
"statement": "`status.restricted_services` includes \"compute.googleapis.com\""
|
|
},
|
|
{
|
|
"id": "K-32",
|
|
"applies_to": "E-49",
|
|
"source": "NFR-8",
|
|
"statement": "`role` is \"roles/cloudkms.cryptoKeyEncrypterDecrypter\""
|
|
},
|
|
{
|
|
"statement": "`region` is \"europe-west2\"",
|
|
"source": "NFR-9",
|
|
"id": "K-33",
|
|
"applies_to": "E-11"
|
|
},
|
|
{
|
|
"statement": "`region` is \"europe-west2\"",
|
|
"applies_to": "E-9",
|
|
"id": "K-34",
|
|
"source": "NFR-9"
|
|
},
|
|
{
|
|
"statement": "`region` is \"europe-west1\"",
|
|
"applies_to": "E-12",
|
|
"id": "K-35",
|
|
"source": "NFR-9"
|
|
},
|
|
{
|
|
"statement": "`constraint` is \"gcp.resourceLocations\"",
|
|
"id": "K-36",
|
|
"source": "NFR-9",
|
|
"applies_to": "E-37"
|
|
},
|
|
{
|
|
"statement": "`list_policy.allow.values` includes \"in:europe-west2\" and \"in:europe-west1\"",
|
|
"applies_to": "E-37",
|
|
"id": "K-37",
|
|
"source": "NFR-9"
|
|
},
|
|
{
|
|
"statement": "`project` is set",
|
|
"source": "NFR-10",
|
|
"id": "K-38",
|
|
"applies_to": "E-4"
|
|
},
|
|
{
|
|
"source": "NFR-11",
|
|
"applies_to": "E-16",
|
|
"id": "K-39",
|
|
"statement": "`distribution_policy_zones` includes at least three zones"
|
|
},
|
|
{
|
|
"statement": "`notification_channels` is populated",
|
|
"id": "K-40",
|
|
"applies_to": "E-32",
|
|
"source": "NFR-12"
|
|
},
|
|
{
|
|
"statement": "`conditions.condition_threshold` or `conditions.condition_absent` is defined",
|
|
"applies_to": "E-32",
|
|
"id": "K-41",
|
|
"source": "NFR-12"
|
|
},
|
|
{
|
|
"source": "NFR-13",
|
|
"id": "K-42",
|
|
"statement": "`amount.specified_amount.currency_code` is \"GBP\"",
|
|
"applies_to": "E-33"
|
|
},
|
|
{
|
|
"id": "K-43",
|
|
"source": "NFR-13",
|
|
"applies_to": "E-33",
|
|
"statement": "`threshold_rules.threshold_percent` includes 0.5, 0.8, 0.9, and 1.0"
|
|
},
|
|
{
|
|
"source": "NFR-13",
|
|
"id": "K-44",
|
|
"statement": "`amount.specified_amount.units` is 25000",
|
|
"applies_to": "E-33"
|
|
},
|
|
{
|
|
"statement": "`bgp.advertise_mode` is \"CUSTOM\"",
|
|
"id": "K-45",
|
|
"applies_to": "E-11",
|
|
"source": "NFR-14"
|
|
},
|
|
{
|
|
"statement": "`bgp.advertise_mode` is \"CUSTOM\"",
|
|
"id": "K-46",
|
|
"applies_to": "E-12",
|
|
"source": "NFR-14"
|
|
},
|
|
{
|
|
"id": "K-47",
|
|
"statement": "`bandwidth` is \"10G\"",
|
|
"source": "NFR-14",
|
|
"applies_to": "E-13"
|
|
},
|
|
{
|
|
"id": "K-48",
|
|
"source": "NFR-14",
|
|
"statement": "`bandwidth` is \"10G\"",
|
|
"applies_to": "E-14"
|
|
},
|
|
{
|
|
"statement": "`list_policy.allow.values` enforces europe-west2 and europe-west1",
|
|
"source": "NFR-15",
|
|
"id": "K-49",
|
|
"applies_to": "E-37"
|
|
},
|
|
{
|
|
"id": "K-50",
|
|
"applies_to": "E-38",
|
|
"statement": "`status.resources` includes the CDE and audit log projects",
|
|
"source": "DR-SEC-1"
|
|
},
|
|
{
|
|
"source": "DR-SEC-1",
|
|
"applies_to": "E-38",
|
|
"statement": "`status.ingress_policies` and `status.egress_policies` are configured",
|
|
"id": "K-51"
|
|
},
|
|
{
|
|
"statement": "`constraint` is \"compute.skipDefaultNetworkCreation\"",
|
|
"id": "K-52",
|
|
"applies_to": "E-34",
|
|
"source": "DR-SEC-2"
|
|
},
|
|
{
|
|
"source": "DR-SEC-2",
|
|
"statement": "`boolean_policy.enforced` is true",
|
|
"id": "K-53",
|
|
"applies_to": "E-34"
|
|
},
|
|
{
|
|
"applies_to": "E-35",
|
|
"id": "K-54",
|
|
"statement": "`constraint` is \"compute.vmExternalIpAccess\"",
|
|
"source": "DR-SEC-2"
|
|
},
|
|
{
|
|
"statement": "`list_policy.deny.all` is true",
|
|
"applies_to": "E-35",
|
|
"id": "K-55",
|
|
"source": "DR-SEC-2"
|
|
},
|
|
{
|
|
"id": "K-56",
|
|
"statement": "`constraint` is \"iam.disableServiceAccountKeyCreation\"",
|
|
"source": "DR-SEC-2",
|
|
"applies_to": "E-36"
|
|
},
|
|
{
|
|
"statement": "`boolean_policy.enforced` is true",
|
|
"source": "DR-SEC-2",
|
|
"id": "K-57",
|
|
"applies_to": "E-36"
|
|
},
|
|
{
|
|
"id": "K-58",
|
|
"statement": "`constraint` is \"gcp.resourceLocations\"",
|
|
"applies_to": "E-37",
|
|
"source": "DR-SEC-2"
|
|
},
|
|
{
|
|
"id": "K-59",
|
|
"statement": "`list_policy.allow.values` restricts locations",
|
|
"source": "DR-SEC-2",
|
|
"applies_to": "E-37"
|
|
},
|
|
{
|
|
"statement": "`confidential_instance_config.enable_confidential_compute` is true",
|
|
"source": "DR-SEC-3",
|
|
"id": "K-60",
|
|
"applies_to": "E-51"
|
|
},
|
|
{
|
|
"id": "K-61",
|
|
"source": "DR-SEC-4",
|
|
"applies_to": "E-39",
|
|
"statement": "`inspect_config.info_types.name` includes \"CREDIT_CARD_NUMBER\""
|
|
},
|
|
{
|
|
"statement": "`event_data_content_type` is \"application/json\"",
|
|
"id": "K-62",
|
|
"source": "DR-SEC-6",
|
|
"applies_to": "E-40"
|
|
},
|
|
{
|
|
"statement": "`matching_criteria.attribute` includes \"type\" matching SCC findings",
|
|
"id": "K-63",
|
|
"applies_to": "E-40",
|
|
"source": "DR-SEC-6"
|
|
},
|
|
{
|
|
"source": "DR-SEC-6",
|
|
"id": "K-64",
|
|
"applies_to": "E-41",
|
|
"statement": "`event_trigger.event_type` matches Eventarc trigger"
|
|
},
|
|
{
|
|
"applies_to": "E-13",
|
|
"statement": "`interconnect` is set to the primary colocation interconnect",
|
|
"id": "K-65",
|
|
"source": "DR-REL-1"
|
|
},
|
|
{
|
|
"statement": "`interconnect` is set to the secondary colocation interconnect",
|
|
"applies_to": "E-14",
|
|
"id": "K-66",
|
|
"source": "DR-REL-1"
|
|
},
|
|
{
|
|
"source": "DR-REL-1",
|
|
"statement": "`router` is set to the Primary Router",
|
|
"id": "K-67",
|
|
"applies_to": "E-13"
|
|
},
|
|
{
|
|
"applies_to": "E-56",
|
|
"id": "K-68",
|
|
"source": "DR-REL-1",
|
|
"statement": "`bfd.session_initialization_mode` is \"ACTIVE\""
|
|
},
|
|
{
|
|
"source": "DR-REL-2",
|
|
"id": "K-69",
|
|
"statement": "`distribution_policy_zones` includes three zones",
|
|
"applies_to": "E-16"
|
|
},
|
|
{
|
|
"id": "K-70",
|
|
"applies_to": "E-17",
|
|
"source": "DR-REL-2",
|
|
"statement": "`load_balancing_scheme` is \"INTERNAL\""
|
|
},
|
|
{
|
|
"applies_to": "E-18",
|
|
"statement": "`health_checks` includes the ILB Health Check",
|
|
"source": "DR-REL-2",
|
|
"id": "K-71"
|
|
},
|
|
{
|
|
"source": "DR-REL-3",
|
|
"applies_to": "E-28",
|
|
"id": "K-72",
|
|
"statement": "`location` is \"europe-west2\""
|
|
},
|
|
{
|
|
"applies_to": "E-30",
|
|
"id": "K-73",
|
|
"statement": "`location` is \"europe-west1\"",
|
|
"source": "DR-REL-3"
|
|
},
|
|
{
|
|
"source": "DR-REL-3",
|
|
"applies_to": "E-58",
|
|
"statement": "`role` is \"roles/cloudkms.cryptoKeyDecrypter\"",
|
|
"id": "K-74"
|
|
},
|
|
{
|
|
"id": "K-75",
|
|
"statement": "`custom_placement_config.data_locations` includes \"EUROPE-WEST1\" and \"EUROPE-WEST2\"",
|
|
"applies_to": "E-21",
|
|
"source": "DR-REL-4"
|
|
},
|
|
{
|
|
"statement": "`name` differs for primary and standby",
|
|
"id": "K-76",
|
|
"source": "DR-REL-5",
|
|
"applies_to": "E-42"
|
|
},
|
|
{
|
|
"statement": "`name` differs for primary and standby",
|
|
"source": "DR-REL-5",
|
|
"id": "K-77",
|
|
"applies_to": "E-43"
|
|
},
|
|
{
|
|
"statement": "`versioning.enabled` is true",
|
|
"id": "K-78",
|
|
"source": "DR-REL-5",
|
|
"applies_to": "E-42"
|
|
},
|
|
{
|
|
"applies_to": "E-43",
|
|
"source": "DR-REL-5",
|
|
"id": "K-79",
|
|
"statement": "`versioning.enabled` is true"
|
|
},
|
|
{
|
|
"source": "DR-OP-2",
|
|
"statement": "`goal` is 0.999",
|
|
"applies_to": "E-44",
|
|
"id": "K-80"
|
|
},
|
|
{
|
|
"applies_to": "E-32",
|
|
"id": "K-81",
|
|
"source": "DR-OP-2",
|
|
"statement": "`conditions.condition_threshold` filters on SLO burn rate"
|
|
},
|
|
{
|
|
"statement": "`service` is \"recommender.googleapis.com\"",
|
|
"applies_to": "E-45",
|
|
"id": "K-82",
|
|
"source": "DR-OP-3"
|
|
},
|
|
{
|
|
"applies_to": "E-21",
|
|
"statement": "`lifecycle_rule.condition.age` is 30",
|
|
"id": "K-83",
|
|
"source": "DR-COST-2"
|
|
},
|
|
{
|
|
"id": "K-84",
|
|
"applies_to": "E-21",
|
|
"source": "DR-COST-2",
|
|
"statement": "`lifecycle_rule.action.type` is \"SetStorageClass\" and `lifecycle_rule.action.storage_class` is \"NEARLINE\""
|
|
},
|
|
{
|
|
"source": "DR-COST-2",
|
|
"id": "K-85",
|
|
"applies_to": "E-21",
|
|
"statement": "`lifecycle_rule.condition.age` is 90"
|
|
},
|
|
{
|
|
"applies_to": "E-21",
|
|
"statement": "`lifecycle_rule.action.type` is \"SetStorageClass\" and `lifecycle_rule.action.storage_class` is \"ARCHIVE\"",
|
|
"id": "K-86",
|
|
"source": "DR-COST-2"
|
|
},
|
|
{
|
|
"applies_to": "E-8",
|
|
"statement": "`routing_mode` is \"REGIONAL\"",
|
|
"id": "K-87",
|
|
"source": "DR-PERF-1"
|
|
},
|
|
{
|
|
"statement": "`autoscaling_policy.min_replicas` is 1",
|
|
"applies_to": "E-47",
|
|
"id": "K-88",
|
|
"source": "DR-SUST-1"
|
|
},
|
|
{
|
|
"source": "DR-COST-1",
|
|
"statement": "`short_name` defines the taxonomy keys",
|
|
"id": "K-89",
|
|
"applies_to": "E-46"
|
|
},
|
|
{
|
|
"applies_to": "E-54",
|
|
"source": "DR-COST-1",
|
|
"statement": "`destination` points to BigQuery",
|
|
"id": "K-90"
|
|
},
|
|
{
|
|
"id": "K-91",
|
|
"applies_to": "E-55",
|
|
"source": "NFR-1",
|
|
"statement": "`tag_value` is set to the PCI regulated archetype"
|
|
},
|
|
{
|
|
"id": "K-92",
|
|
"source": "DR-REL-2",
|
|
"statement": "`check_interval_sec` is set",
|
|
"applies_to": "E-19"
|
|
},
|
|
{
|
|
"source": "NFR-5",
|
|
"applies_to": "E-23",
|
|
"id": "K-93",
|
|
"statement": "`disabled` is false"
|
|
},
|
|
{
|
|
"applies_to": "E-26",
|
|
"source": "NFR-5",
|
|
"statement": "`disabled` is false",
|
|
"id": "K-94"
|
|
},
|
|
{
|
|
"applies_to": "E-52",
|
|
"id": "K-95",
|
|
"statement": "`display_name` is set",
|
|
"source": "DR-OP-2"
|
|
},
|
|
{
|
|
"applies_to": "E-53",
|
|
"id": "K-96",
|
|
"source": "DR-SUST-1",
|
|
"statement": "`base_instance_name` is set"
|
|
},
|
|
{
|
|
"source": "DR-REL-1",
|
|
"applies_to": "E-57",
|
|
"statement": "`bfd.session_initialization_mode` is \"ACTIVE\"",
|
|
"id": "K-97"
|
|
},
|
|
{
|
|
"source": "DR-REL-1",
|
|
"id": "K-99",
|
|
"applies_to": "E-56",
|
|
"statement": "`bfd.min_receive_interval` is 100"
|
|
},
|
|
{
|
|
"id": "K-100",
|
|
"source": "DR-REL-1",
|
|
"applies_to": "E-57",
|
|
"statement": "`bfd.min_receive_interval` is 100"
|
|
},
|
|
{
|
|
"source": "DR-REL-3",
|
|
"id": "K-101",
|
|
"statement": "`role` is \"roles/cloudkms.cryptoKeyDecrypter\"",
|
|
"applies_to": "E-59"
|
|
},
|
|
{
|
|
"statement": "`tag_value` is set to the corp_workload archetype",
|
|
"applies_to": "E-60",
|
|
"source": "NFR-1",
|
|
"id": "K-102"
|
|
},
|
|
{
|
|
"applies_to": "E-14",
|
|
"statement": "`router` is set to the Primary Router",
|
|
"id": "K-103",
|
|
"source": "NFR-3"
|
|
},
|
|
{
|
|
"applies_to": "E-56",
|
|
"id": "K-104",
|
|
"statement": "`bfd.min_transmit_interval` is 100",
|
|
"source": "DR-REL-1"
|
|
},
|
|
{
|
|
"source": "DR-REL-1",
|
|
"id": "K-105",
|
|
"applies_to": "E-57",
|
|
"statement": "`bfd.min_transmit_interval` is 100"
|
|
}
|
|
],
|
|
"not_applicable": [
|
|
{
|
|
"reason": "SCC activation and threat detection configuration are performed at the organization level outside of the foundational landing zone workspace.",
|
|
"recommendation": "DR-SEC-5"
|
|
},
|
|
{
|
|
"reason": "Policy-as-code validation is defined in GitHub Actions CI/CD workflow YAML, which is outside the infrastructure terraform configuration.",
|
|
"recommendation": "DR-OP-1"
|
|
},
|
|
{
|
|
"reason": "OpenTelemetry and Cloud Profiler are application-level agents installed within instance images or workloads, which are excluded from the foundational infrastructure deployment.",
|
|
"recommendation": "DR-PERF-2"
|
|
}
|
|
]
|
|
} |