Google Group Expansion + 2SV Status Reporter
Turn nested group membership into a security-ready roster with 2SV status. It ingests master group name; directory/group memberships; user 2SV status and produces sheet tab report of users and 2SV status; expanded membership listing.
Turns nested group membership into actionable 2SV visibility for security and access reviews.
Purpose
Turn nested group membership into a security-ready roster with 2SV status.
Current state
Design is clear; scaling constraints are known and require resumable execution.
Next step
Add checkpointing so long runs can resume across executions.
Interfaces
- master group name
- directory/group memberships
- user 2SV status
- sheet tab report of users and 2SV status
- expanded membership listing
Reality to Action trace
Contributes in this stage.
Not in scope.
Not in scope.
Contributes in this stage.
Contributes in this stage.
Core workflow
- Input master group name and start the run.
- Expand nested group membership recursively.
- Batch users to stay within Apps Script limits.
- Query user profiles and 2SV status.
- Write results to a report tab.
- Checkpoint progress for resume.
- Generate a summary count for compliance.
Data integrity and contracts
Canonical schema definitions
- Report sheet schema (email, name, org unit, 2SV status, group path).
- Config tab schema (group name, batch size).
- Checkpoint state record (last index, timestamp).
Source of truth rules
- Google Directory is canonical for membership and 2SV state.
- Sheet is the reporting surface, not a system of record.
Data quality checks
- Deduplicate users discovered via nested groups.
- Validate total count against membership expansion.
- Flag missing user profiles or API errors.
Safe handling
- Restrict report sheet access to admins.
- Avoid exporting PII beyond the sheet.
- Use admin scopes only for the run.
Downstream integration map
- Security and compliance reporting.
- MFA enforcement and follow-up.
Operational notes
Reliability posture
Needs batching and resume support due to Apps Script time limits.
Observability
- script logs
- progress markers (recommended)
Security and privacy
PII present; restrict sheet access.
Dependencies
Upstream- Admin privileges
- Google Workspace directory
- MFA/2SV enforcement workflows
- security reporting
Ownership
OwnersJosh Barton
UsersIT admin, Josh Barton (owner)