Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audit: update as of 2021-03-03 #1748

Merged
merged 1 commit into from
Mar 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 50 additions & 13 deletions audit/org_kubernetes.io/iam.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,23 @@
},
{
"members": [
"group:[email protected]"
"user:[email protected]",
"user:[email protected]"
Comment on lines +11 to +12
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was #1726 (as well as all other changes in this file unless I comment otherwise)

specifically the part where I was paranoid about accidentally locking out k8s-infra-gcp-org-admins@ when I consolidate their roles into a single custom role

these will be removed by deployment of #1737

],
"role": "organizations/758905017065/roles/StorageBucketLister"
},
{
"members": [
"group:[email protected]"
],
"role": "organizations/758905017065/roles/audit.viewer"
},
{
"members": [
"group:[email protected]"
],
"role": "organizations/758905017065/roles/organization.admin"
},
{
"members": [
"user:[email protected]",
Expand All @@ -27,37 +40,49 @@
},
{
"members": [
"group:[email protected]"
"user:[email protected]",
"user:[email protected]"
],
"role": "roles/billing.user"
},
{
"members": [
"group:[email protected]"
"group:[email protected]"
],
"role": "roles/billing.viewer"
},
{
"members": [
"group:[email protected]",
"group:[email protected]"
],
"role": "roles/browser"
},
{
"members": [
"group:[email protected]"
"user:[email protected]",
"user:[email protected]"
],
"role": "roles/compute.viewer"
},
{
"members": [
"group:[email protected]"
"user:[email protected]",
"user:[email protected]"
],
"role": "roles/dns.reader"
},
{
"members": [
"group:[email protected]"
"user:[email protected]",
"user:[email protected]"
],
"role": "roles/iam.organizationRoleAdmin"
},
{
"members": [
"group:[email protected]"
"user:[email protected]",
"user:[email protected]"
],
"role": "roles/iam.securityReviewer"
},
Expand All @@ -69,9 +94,10 @@
},
{
"members": [
"group:[email protected]",
"user:[email protected]",
"user:[email protected]",
"user:[email protected]",
"user:[email protected]",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was not me

I would suggest LF use our groups, but we're also in here as backup "just in case" so I don't really mind

"user:[email protected]",
"user:[email protected]",
"user:[email protected]"
Expand All @@ -80,31 +106,42 @@
},
{
"members": [
"group:[email protected]"
"user:[email protected]",
"user:[email protected]"
],
"role": "roles/resourcemanager.organizationViewer"
},
{
"members": [
"group:[email protected]"
"user:[email protected]",
"user:[email protected]"
],
"role": "roles/resourcemanager.projectCreator"
},
{
"members": [
"group:[email protected]"
"user:[email protected]",
"user:[email protected]"
],
"role": "roles/resourcemanager.projectDeleter"
},
{
"members": [
"group:[email protected]"
"group:[email protected]"
],
"role": "roles/secretmanager.viewer"
},
{
"members": [
"user:[email protected]",
"user:[email protected]"
],
"role": "roles/servicemanagement.quotaAdmin"
},
{
"members": [
"group:[email protected]"
"user:[email protected]",
"user:[email protected]"
],
"role": "roles/serviceusage.serviceUsageConsumer"
}
Expand Down
2 changes: 1 addition & 1 deletion audit/org_kubernetes.io/roles/CustomRole.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"description": "Can view billing info",
"description": "View access to billing info",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

role changes are also #1726 unless commented others

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops I changed the description of this a bit, should be fine?

I still don't understand the exact nature of why this role has the permissions it does, I've commented as much in its spec https://github.com/kubernetes/k8s.io/blob/986809ca3832cc0432732b7f183f6354f608287e/infra/gcp/roles/specs/CustomRole.yaml

"includedPermissions": [
"billing.accounts.getSpendingInformation",
"billing.budgets.get",
Expand Down
9 changes: 0 additions & 9 deletions audit/org_kubernetes.io/roles/StorageBucketLister.json

This file was deleted.

Loading