Ensure corporate login credentials are used
Description
Verify that all users use corporate Google Workspace or Cloud Identity accounts, not personal Gmail accounts.
⚠️ Risk Impact
Personal accounts bypass organizational security policies including MFA requirements, password policies, and session controls.
🔍 How EchelonGraph Detects This
EchelonGraph's Tier 1 Cloud Scanner automatically checks for this condition across all connected Google Cloud accounts. Violations are flagged as high-severity findings with remediation guidance.
🖥️ Manual Verification
gcloud projects get-iam-policy PROJECT_ID --format=json | jq '.bindings[].members[]' | grep -v '@your-domain.com'🔧 Remediation
Configure Cloud Identity or Google Workspace. Remove personal Gmail accounts from IAM policies.
💀 Real-World Attack Scenario
A developer used their personal Gmail to access GCP during a weekend deploy. Six months later, that developer left the company but retained access through their personal account — which was never deprovisioned. The attacker compromised the developer's personal Gmail via a phishing email and pivoted directly into the GCP project, exfiltrating 2.3TB of customer data before detection.
💰 Cost of Non-Compliance
Average cost of credential-based breach: $4.81M (IBM 2024). GDPR Art. 32 fines for inadequate access controls: up to €20M or 4% of global revenue. Additional cost: forensic investigation of personal accounts outside corporate jurisdiction averages $180K.
📋 Audit Questions
- 1.Show evidence that all IAM members use corporate domain accounts.
- 2.How do you prevent users from adding personal Gmail accounts to projects?
- 3.What is your process for detecting non-corporate identities in IAM bindings?
- 4.When was the last access review for IAM members?
🎯 MITRE ATT&CK Mapping
🏗️ Infrastructure as Code Fix
resource "google_organization_policy" "domain_restricted_sharing" {
org_id = var.org_id
constraint = "iam.allowedPolicyMemberDomains"
list_policy {
allow {
values = [var.corporate_domain_id]
}
}
}⚡ Common Pitfalls
- ⛔Forgetting to apply the domain restriction organization policy at the org level, leaving individual projects unprotected
- ⛔Not accounting for service accounts that may have cross-organization bindings
- ⛔Overlooking CI/CD pipeline accounts that were set up with personal emails during initial prototyping
📈 Business Value
Corporate identity enforcement creates a single pane of glass for access management. It enables immediate offboarding (disable Workspace account = revoke all cloud access), ensures compliance audit trails map to real employees, and prevents shadow IT proliferation.
⏱️ Effort Estimate
4-8 hours to audit all projects and remove personal accounts; ongoing weekly reviews
EchelonGraph detects non-corporate identities in <60 seconds across all projects
🔗 Cross-Framework References
Automate CIS GCP 1.1 compliance
EchelonGraph continuously monitors this control across all your cloud accounts.
Start Free →