s1_security_groups — version 1.5

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

Purpose

The S1 security group model in ONE file: the five admin groups and their organization-level role grants.

Resource-type sections may repeat across files with distinct ids, so a typed pack sits beside the estate's own groups and grants. The pack is used at the top level of the estate:

To adopt groups that already exist in the tenant: satz adopt --only google_cloud_identity_group --execute Groups are looked up by email; no ids are hard-coded here (tenant-specific). 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.

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_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.networkAdmin",
    "roles/compute.viewer",
    "roles/compute.xpnAdmin",
    "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/s1-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_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.networkAdmin", "roles/compute.viewer", "roles/compute.xpnAdmin", "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_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_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_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_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". A plan shows an in-place update of the description of that google_cloud_identity_group
1.4 2026-11-12 the project admins' roles are the list param gcp_project_admins_roles, default the same list with roles/owner — the plan does not move (variables.tf gains the variable). An estate that binds it to roles/writer, roles/resourcemanager.projectIamAdmin, roles/iam.serviceAccountAdmin, roles/resourcemanager.projectDeleter and roles/billing.projectManager plus the rest of the list holds the same reach over every project with a role Privileged Access Manager can grant; two destroys and four creates then (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 five question blocks, one per group name, same reasoning. Nothing emitted changes
1.0 2026-09-02 the S1 model in ONE typed file (groups + org grants) for a top-level use

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.