s2_security_groups — version 1.5

Source: presets/security-group-models/s2-security-groups.satz

Purpose

The S2 security group model: S1's five admin groups plus a distinct NETWORK ADMINS group, and the organization-level grants split accordingly. In S1 the network authority is folded into project-admins (compute.networkAdmin, compute.xpnAdmin — "Hybrid Connectivity administrators … Network administrators" in their description); S2 carves it out so a network team can own VPCs, Shared VPC, firewalls, DNS and connectivity without the project-admin power over everything else, and project-admins lose exactly those two network roles. Everything else is S1 unchanged.

Groups and grants in ONE file (typed sections beside the estate's own):

To adopt groups that already exist in the tenant: satz adopt --only google_cloud_identity_group --execute Memberships are NOT part of this pack: presets define groups, humans grant membership.

The first admin holds Project Creator and Billing Account Creator explicitly — the two roles a new organization grants its whole domain. Once that grant and the groups' are live, satz apply takes the domain off those two roles and touches nothing else of the organization's policy; satz plan says what the apply would do.

The project admins' roles are the list param gcp_project_admins_roles; its default is the list the grant below reads, roles/owner included — the horizontal reach over every project, present and future, that the organization's team holds while business units hold vertical roles on their own folders and projects. An estate that wants that reach PAM-grantable binds the param to roles/writer (every service's write permissions in every project — Google's basic role that Privileged Access Manager grants and a condition bounds, which Owner cannot be) together with roles/resourcemanager.projectIamAdmin, roles/iam.serviceAccountAdmin, roles/resourcemanager.projectDeleter and roles/billing.projectManager — what Owner gives beyond Writer — and the rest of the list; the plan then shows two destroys and four creates. The API and gcloud grant Writer; the console cannot. ADR 0090.

Required from the estate: customer_domain, first_admin, svc_iac_account, infra_project_name

Use it

params {
  // the pack's own defaults — copy only the lines you change
  gcp_organization_admins_name = "gcp-organization-admins"
  gcp_project_admins_name = "gcp-project-admins"
  gcp_network_admins_name = "gcp-network-admins"
  gcp_security_admins_name = "gcp-security-admins"
  gcp_security_viewers_name = "gcp-security-viewers"
  gcp_billing_admins_name = "gcp-billing-admins"
  gcp_project_admins_roles = [
    "roles/resourcemanager.folderViewer",
    "roles/resourcemanager.projectIamAdmin",
    "roles/resourcemanager.tagAdmin",
    "roles/iam.organizationRoleViewer",
    "roles/iam.serviceAccountCreator",
    "roles/owner",
    "roles/bigquery.admin",
    "roles/pubsub.admin",
    "roles/cloudsupport.admin",
    "roles/compute.viewer",
    "roles/container.viewer",
    "roles/monitoring.admin",
    "roles/logging.admin",
    "roles/logging.configWriter",
    "roles/logging.privateLogViewer",
    "roles/monitoring.viewer",
    "roles/billing.user",
  ]
}

use "presets/security-group-models/s2-security-groups.satz"

Needs from outside the pack:

Params

param default
gcp_organization_admins_name "gcp-organization-admins"
gcp_project_admins_name "gcp-project-admins"
gcp_network_admins_name "gcp-network-admins"
gcp_security_admins_name "gcp-security-admins"
gcp_security_viewers_name "gcp-security-viewers"
gcp_billing_admins_name "gcp-billing-admins"
gcp_project_admins_roles [ "roles/resourcemanager.folderViewer", "roles/resourcemanager.projectIamAdmin", "roles/resourcemanager.tagAdmin", "roles/iam.organizationRoleViewer", "roles/iam.serviceAccountCreator", "roles/owner", "roles/bigquery.admin", "roles/pubsub.admin", "roles/cloudsupport.admin", "roles/compute.viewer", "roles/container.viewer", "roles/monitoring.admin", "roles/logging.admin", "roles/logging.configWriter", "roles/logging.privateLogViewer", "roles/monitoring.viewer", "roles/billing.user" ]

Questions

What to ask before this pack is configured, and what changing the answer costs.

asks about prompt reversal blast recommends
gcp_organization_admins_name The organization admins group's name (the local part; the customer domain is added) recreate low —
gcp_project_admins_name The project admins group's name (the local part; the customer domain is added) recreate low —
gcp_network_admins_name The network admins group's name (the local part; the customer domain is added) recreate low —
gcp_security_admins_name The security admins group's name (the local part; the customer domain is added) recreate low —
gcp_security_viewers_name The security viewers group's name (the local part; the customer domain is added) recreate low —
gcp_billing_admins_name The billing admins group's name (the local part; the customer domain is added) recreate low —

gcp_organization_admins_name — The address is the group's identity: renaming it later means a new group, every member moved by hand and every role re-granted. This group holds the organization's highest roles.

gcp_project_admins_name — The address is the group's identity: renaming it later means a new group, every member moved by hand and every role re-granted.

gcp_network_admins_name — The address is the group's identity: renaming it later means a new group, every member moved by hand and every role re-granted. S2's reason to exist: the network authority carved out of project admins.

gcp_security_admins_name — The address is the group's identity: renaming it later means a new group, every member moved by hand and every role re-granted.

gcp_security_viewers_name — The address is the group's identity: renaming it later means a new group, every member moved by hand and every role re-granted.

gcp_billing_admins_name — The address is the group's identity: renaming it later means a new group, every member moved by hand and every role re-granted.

Contributes

resource type labels
google_cloud_identity_group {gcp_organization_admins_name}, {gcp_project_admins_name}, {gcp_network_admins_name}, {gcp_security_admins_name}, {gcp_security_viewers_name}, {gcp_billing_admins_name}
google_organization_iam_member domain:{customer_domain} (grant map), group:{gcp_organization_admins_name}@{customer_domain} (grant map), group:{gcp_project_admins_name}@{customer_domain} (grant map), group:{gcp_network_admins_name}@{customer_domain} (grant map), group:{gcp_security_admins_name}@{customer_domain} (grant map), group:{gcp_security_viewers_name}@{customer_domain} (grant map), group:{gcp_billing_admins_name}@{customer_domain} (grant map), user:{first_admin}@{customer_domain} (grant map)

Claims

None — this pack proves no control by itself.

History

version date change
1.5 2026-11-20 the texts follow the glossary (ADR 0095): the security admins group's description and the address question's text say "organization" where they said "organisation", and the network admins group's description says "network troubleshooting" where it said "network diagnostics". A plan shows in-place updates of the description of those two google_cloud_identity_group resources
1.4 2026-11-12 the same list param gcp_project_admins_roles, default S2's list (S1's without the two network roles), the same binding to move off roles/owner (ADR 0090)
1.3 2026-10-23 the first admin holds roles/resourcemanager.projectCreator and roles/billing.creator on the organisation explicitly — the two roles a new organisation grants its whole domain; once that grant and the groups' are live, satz apply takes the domain off those two roles and touches nothing else of the policy. Two google_organization_iam_member creates in the plan
1.2 2026-09-11 the security-admins group's description says what its roles do — organisation policies, folder IAM, Security Command Center, logging and monitoring, read access — instead of the Security Admin role and organisation, folder and project IAM admin, which the group never held. An in-place description update on the group; no role changes
1.1 2026-09-10 six question blocks, one per group name — each a group's identity, so changing it later is a new group, moved members and re-granted roles. Nothing emitted changes
1.0 2026-09-02 S2 = S1 plus a distinct gcp-network-admins group (compute.networkAdmin, compute.xpnAdmin, compute.securityAdmin, dns.admin, networkconnectivity.hubAdmin, networkmanagement.admin + viewer roles); project-admins lose compute.networkAdmin and compute.xpnAdmin; one typed file

The whole library's history: the changelog in presets/CHANGELOG.md.

Notes

The project admins' roles are the list param gcp_project_admins_roles; the default keeps roles/owner. An estate that wants the horizontal reach PAM-grantable binds roles/writer, roles/resourcemanager.projectIamAdmin, roles/iam.serviceAccountAdmin, roles/resourcemanager.projectDeleter and roles/billing.projectManager plus the rest of the list (ADR 0090); the plan then shows two destroys and four creates, and the console cannot grant Writer.