GoogleCloudPlatform / GoogleCloudPlatform/pubsec-declarative-toolkit

Document/Automate "Project Creator" and "Billing Account Creator" roles removal from default organization level IAM permissions - move to identity principals and reduce to viewer for restricted users by default #242

Open
#290 0 comments 0 reactions 1 assignee Claimed by @fmichaelobrien View on GitHub
automation compliance documentation enhancement Landing Zone security-controls
Dominant language
Shell
Stars
36
Forks
26
PR merge metrics
No merged PRs in 30d

Description

# effect:
- users are able to create projects off the root of the organization and also create rogue billing accounts (their credit card) until these 2 roles are removed and redistributed among selected admins at selected org/folder levels

https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/issues/242
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/290
https://github.com/canada-ca/accelerators_accelerateurs-gcp/issues/69

This details removal of the default configuration on new GCP cloud accounts
Issue: by default all users have "Billing Account Creator" and "Project Creator" IAM roles via the organization - this needs to be reduced.
Watch permissions that are part of these roles - like groups viewer at the org level under "Project Creator" that are currently inherited and need to be re-distributed.
By default non-admin or elevated identity principals (users and service accounts) - should have these two roles assigned.

The default access for regular or restricted users should be viewer only

I recommend and will integrate the pre-req of cleaning out excess IAM permissions to the LZ (along the same lines of mitigating existing non-compliant services (like those in us-central for example) - except that these 2 IAM roles are in completely clean orgs

Screenshot 2023-02-27 at 10 16 21

Restricted user can create new projects
Screenshot 2023-02-27 at 10 19 35

Create the project
Screenshot 2023-02-27 at 10 20 05

Project created and available - this is a access level over reach - project creation abilities should be reduced to project viewer
Screenshot 2023-02-27 at 10 20 56

Remove org level access

Screenshot 2023-02-27 at 10 23 44

wait a couple min - no org level or billing access for new projects
Screenshot 2023-02-27 at 10 31 27

By default any restricted user that creates a project is the owner
Screenshot 2023-02-27 at 10 35 46

see no access yet
Screenshot 2023-02-27 at 10 39 25

A project created normally via a separate elevated admin user - has reduced permissions for the restricted user
Screenshot 2023-02-27 at 10 38 02

add editor
Screenshot 2023-02-27 at 10 38 55

Screenshot 2023-02-27 at 10 40 10

https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/issues/242

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.