Securing Azure and Google Cloud together
Securing Azure and Google Cloud together starts with Microsoft Entra ID as the workforce sign-in source for Google Cloud, then workload federation both ways, deliberate audit log settings, one log destination, a decision between the Defender for Cloud connector and Security Command Center, and network rules restated for priority and scope. 4 of the 6 steps are provider guidance.
What should I align first?
The steps below are in the order to do them.
Workforce identity: Entra ID as the source for Google Cloud sign-in.
Provider guidance.Google documents a Workforce Identity Federation setup with Entra ID over OIDC or SAML 2.0, with group mapping.
Basis: Google IAM documentation.
Pages: Google Cloud: workforce-identity-federation, Google Cloud: workforce-sign-in-microsoft-entra-id
Workload identity: Entra federated credentials for Google-hosted workloads, Google federation for Azure workloads.
Provider guidance.Microsoft's page says a managed identity or app registration can trust tokens from an external IdP such as Google; Google's page lists Azure as a supported source for workload federation.
Basis: Microsoft and Google federation docs.
Pages: Google Cloud: workload-identity-federation, Microsoft: workload-identity-federation
Audit logs: set Azure resource logs and Google Data Access audit logs on purpose.
Inference from the cited differences.Azure resource logs and Google Cloud Data Access audit logs (except BigQuery) are both off by default; Azure activity log keeps 90 days, Google _Default bucket 30 days and _Required 400 days.
Log destination: an aggregated Pub/Sub sink into Microsoft Sentinel, or Event Hubs and Pub/Sub to an outside SIEM.
Provider guidance.Azure diagnostic settings are created per resource, up to five each, and can stream to Event Hubs for outside SIEMs; Microsoft's page also points to a diagnostic setting for the activity log and one for a management group. A plain Cloud Logging sink covers one resource, while an aggregated sink routes entries from every resource in a folder or organization to a destination such as a Pub/Sub topic. Microsoft documents Microsoft Sentinel connectors that ingest Google Cloud audit logs through a Pub/Sub topic and subscription, so an aggregated sink to Pub/Sub read by Sentinel puts both clouds in one place.
Basis: Microsoft Sentinel Google Cloud connector.
Pages: Google Cloud: aggregated_sinks, Google Cloud: configure_export_v2, Microsoft: diagnostic-settings, Microsoft: connect-google-cloud-platform
Posture: choose between Defender for Cloud's GCP connector and Security Command Center.
Provider guidance.Microsoft documents a GCP connector for Defender for Cloud and recommends distributing large GCP environments across multiple Azure subscriptions (portal views of 10,000 resources or fewer). Google's service tiers page lists Standard and Premium as Google Cloud only and Enterprise, the tier with the Azure connector, as Google Cloud, AWS and Azure; Google says Enterprise shuts down on 21 May 2027, so after that date the documented native option for one view of both clouds is Defender for Cloud's GCP connector, or a third-party platform such as those in the coverage atlas.
Basis: Defender for Cloud GCP onboarding; Security Command Center service tiers and Azure connector.
Pages: Google Cloud: service-tiers, Google Cloud: connect-scc-to-azure, Microsoft: multicloud, Microsoft: quickstart-onboard-gcp
Network rules: Azure NSG priority order versus Google rule priority and global scope.
Inference from the cited differences.NSG rules run by priority 100 to 4096 with first match and end in DenyAllInbound at 65500 with AllowInternetOutBound at 65001, while Google Cloud VPC firewall rules are global resources with implied rules that deny ingress and allow egress, so both allow outbound by default. Inbound differs: an NSG allows traffic from inside the virtual network by default (AllowVNetInBound at 65000), while Google's implied deny ingress blocks connections from other instances in the same VPC network unless a rule allows them, as default-allow-internal (priority 65534) does on the default network. The same default network also allows SSH (TCP 22), RDP (TCP 3389) and ICMP from 0.0.0.0/0 (default-allow-ssh, default-allow-rdp and default-allow-icmp, priority 65534), where an NSG admits no inbound internet traffic before DenyAllInbound (65500) unless you add a rule, so delete or narrow those rules before comparing the two rule sets. Google rule priorities run from 0 to 65535, default 1000, against 100 to 4096 for NSG rules you create, so a copied rule needs its priority and its scope restated.
Which native service does each job?
These are the native services for each security job on Azure and Google Cloud; the descriptions are on the service equivalents page.
| Job | Azure | Google Cloud |
|---|---|---|
| Audit logging | Azure Monitor Activity log (with diagnostic settings for export) | Cloud Audit Logs (in Cloud Logging) |
| Identity | Microsoft Entra ID | Cloud IAM (with Cloud Identity and Workforce Identity Federation) |
| Configuration recording and posture | Azure Policy and Microsoft Defender for Cloud | Security Command Center and Cloud Asset Inventory |
| Keys | Azure Key Vault (Premium tier and Managed HSM for HSM-backed keys) | Cloud KMS (with Cloud HSM and Cloud EKM) |
| Network controls (instance and interface level) | Network security groups (NSGs) | VPC firewall rules (Cloud NGFW) |
| Threat detection | Microsoft Defender for Cloud (plans) and Microsoft Sentinel | Security Command Center threat detection (Event Threat Detection) |
Which defaults differ for this pair?
These are the documented differences between Azure and Google Cloud; the steps link the ones they rest on, and the five-cloud tables are on the audit log defaults and service equivalents pages.
| Topic | Azure | Google Cloud |
|---|---|---|
| How long audit events stay by default | The activity log keeps events for 90 days; longer retention needs a diagnostic setting to Log Analytics (retention extendable to 12 years there), Storage or Event Hubs. Microsoft: activity-log | The _Required log bucket (Admin Activity and System Event audit logs) keeps 400 days and is not configurable; the _Default bucket keeps 30 days; a project's _Default bucket can be set from 1 to 3650 days, a folder or organization _Default bucket cannot. Google Cloud: quotas |
| Whether data-plane (data event) logging is on by default | Resource logs, which capture data plane operations such as reading a key vault secret, are not collected by default and need a diagnostic setting. Microsoft: activity-log | Except for BigQuery, Data Access audit logs are disabled by default. Google Cloud: audit |
| Scope of the audit trail | Subscription is the default scope; tenant and management group level views capture only Azure Resource Manager events. Subscription-level events without a hierarchy property do not reach a management-group diagnostic setting, even at the root. Microsoft: activity-log | Audit logs are stored per project, folder and organization, each with its own _Required and _Default buckets; an aggregated sink at a folder or organization routes entries from all child resources to one destination. Google Cloud: quotas, Google Cloud: aggregated_sinks |
| Scope of the network rule object | Filtering applies where the network security group is associated; the page's example associates it with a VM's network interface, and rules run by priority from 100 to 4096 with first match. Microsoft: network-security-groups-overview | VPC networks, including their associated routes and firewall rules, are global resources not tied to a region or zone. Google Cloud: vpc |
| What each provider's own security service says about other clouds | Defender for Cloud connects AWS accounts with a native AWS connector and GCP projects with a GCP connector; Defender plans for servers and containers cover AWS and GCP workloads. Microsoft: quickstart-onboard-aws, Microsoft: quickstart-onboard-gcp | Security Command Center connects to AWS and Azure for configuration and resource data collection on the Enterprise tier, which Google says shuts down on 21 May 2027; organizations on it move to Premium on or after that date. Google Cloud: connect-scc-to-aws, Google Cloud: connect-scc-to-azure, Google Cloud: service-tiers |
| Providers' own comparison pages disagree on threat detection | Microsoft's Google Cloud to Azure page maps Event Threat Detection to Microsoft Defender for Identity and Security Command Center Web Security Scanner to Microsoft Defender for Cloud. Microsoft: services | Google's page maps Security Command Center, the service that holds Event Threat Detection, to Microsoft Defender for Cloud. Both pages map Google Security Operations SIEM to Microsoft Sentinel. Google Cloud: aws-azure-gcp-service-comparison, Microsoft: services, Google Cloud: concepts-event-threat-detection-overview |
| What the network control allows when you add no rules | Default inbound rules are AllowVNetInBound (65000), AllowAzureLoadBalancerInBound (65001) and DenyAllInbound (65500); default outbound rules are AllowVnetOutBound (65000), AllowInternetOutBound (65001) and DenyAllOutBound (65500), so outbound internet traffic is allowed until you add a rule. Microsoft: network-security-groups-overview | The implied rules deny ingress and allow egress; the default network is pre-populated, at priority 65534, with default-allow-ssh (TCP 22), default-allow-rdp (TCP 3389) and default-allow-icmp from 0.0.0.0/0 and default-allow-internal from 10.128.0.0/9, rules that can be deleted or changed. Google Cloud: firewalls |
| How long configuration history stays | Azure Resource Graph keeps resource changes queryable for 14 days; for longer retention Microsoft suggests exporting query results, for example with Logic Apps. Microsoft: resource-graph-changes, Microsoft: get-resource-changes | Cloud Asset Inventory keeps create, update and delete history for up to 35 days. Google Cloud: overview |
| Key rotation behavior | Rotation is set by a key rotation policy defined for each individual key. Microsoft: how-to-configure-key-rotation | Automatic rotation is supported for symmetric keys only; Google says automatic rotation at a defined period, such as every 90 days, increases security with minimal administrative complexity. Google Cloud: key-rotation |
Sources
- Google Cloud: cloud.google.com/docs/get-started/aws-azure-gcp-service-comparison read 21 Nov 2026
- Google Cloud: cloud.google.com/security-command-center/docs/service-tiers read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/asset-inventory/docs/overview read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/firewall/docs/firewalls read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/iam/docs/overview read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/iam/docs/workforce-identity-federation read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/iam/docs/workforce-sign-in-microsoft-entra-id read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/iam/docs/workload-identity-federation read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/kms/docs/key-rotation read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/logging/docs/audit read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/logging/docs/export/aggregated_sinks read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/logging/docs/export/configure_export_v2 read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/logging/quotas read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/security-command-center/docs/concepts-event-threat-detection-overview read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/security-command-center/docs/connect-scc-to-aws read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/security-command-center/docs/connect-scc-to-azure read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/vpc/docs/vpc read 20 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/architecture/gcp-professional/services read 21 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log read 20 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings read 21 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/defender-for-cloud/defender-for-cloud-introduction read 20 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/defender-for-cloud/multicloud read 20 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/defender-for-cloud/quickstart-onboard-aws read 20 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/defender-for-cloud/quickstart-onboard-gcp read 20 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/governance/policy/overview read 21 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/governance/resource-graph/changes/get-resource-changes read 21 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/governance/resource-graph/changes/resource-graph-changes read 21 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/key-vault/general/overview read 20 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/key-vault/keys/how-to-configure-key-rotation read 20 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/sentinel/connect-google-cloud-platform read 21 Nov 2026
- Microsoft: learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview read 21 Nov 2026
- Microsoft: learn.microsoft.com/en-us/entra/fundamentals/whatis read 20 Nov 2026
- Microsoft: learn.microsoft.com/en-us/entra/workload-id/workload-identity-federation read 21 Nov 2026
Last reviewed