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

partial-audit: kubernetes-public and remaining updates as of 2021-02-24 #1718

Merged
merged 1 commit into from
Mar 1, 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
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
"limit": 200,
"metric": "SECURITY_POLICY_RULES"
},
{
"limit": 1000,
"metric": "XPN_SERVICE_PROJECTS"
},
{
"limit": 150,
"metric": "PACKET_MIRRORINGS"
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions audit/projects/k8s-artifacts-prod/iam.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
{
"members": [
"serviceAccount:[email protected]"
"deleted:serviceAccount:[email protected]?uid=111422293292441494221"
],
"role": "roles/errorreporting.writer"
},
Expand All @@ -54,7 +54,7 @@
},
{
"members": [
"serviceAccount:[email protected]"
"deleted:serviceAccount:[email protected]?uid=111422293292441494221"
],
"role": "roles/logging.logWriter"
},
Expand Down
8 changes: 0 additions & 8 deletions ...ccounts/[email protected]/description.json

This file was deleted.

11 changes: 0 additions & 11 deletions ...ervice-accounts/[email protected]/iam.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
"limit": 200,
"metric": "SECURITY_POLICY_RULES"
},
{
"limit": 1000,
"metric": "XPN_SERVICE_PROJECTS"
},
{
"limit": 150,
"metric": "PACKET_MIRRORINGS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
"limit": 200,
"metric": "SECURITY_POLICY_RULES"
},
{
"limit": 1000,
"metric": "XPN_SERVICE_PROJECTS"
},
{
"limit": 150,
"metric": "PACKET_MIRRORINGS"
Expand Down
11 changes: 10 additions & 1 deletion audit/projects/k8s-conform/buckets/k8s-conform-inspur/iam.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@
},
{
"members": [
"group:[email protected]"
"group:[email protected]",
"serviceAccount:[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 improperly setup before, ran the appropriate script during troubleshooting kubernetes/test-infra#20914 (comment)

],
"role": "roles/storage.legacyBucketWriter"
},
{
"members": [
"group:[email protected]",
"group:[email protected]",
"serviceAccount:[email protected]"
],
"role": "roles/storage.objectAdmin"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Bucket Policy Only setting for gs://k8s-conform-provider-openstack:
Enabled: True
LockedTime: 2021-05-16 15:12:16.571000+00:00

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gs://k8s-conform-provider-openstack/ has no CORS configuration.
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,29 @@
{
"members": [
"group:[email protected]",
"projectEditor:k8s-artifacts-prod",
"projectOwner:k8s-artifacts-prod"
"projectEditor:k8s-conform",
Copy link
Member

Choose a reason for hiding this comment

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

another one... why does git see this as a move instead of a delete / add?

"projectOwner:k8s-conform"
],
"role": "roles/storage.legacyBucketOwner"
},
{
"members": [
"projectViewer:k8s-artifacts-prod"
"projectViewer:k8s-conform"
],
"role": "roles/storage.legacyBucketReader"
},
{
"members": [
"serviceAccount:k8s-infra-gcr-vuln-dashboard@k8s-artifacts-prod.iam.gserviceaccount.com"
"group:[email protected]",
"serviceAccount:[email protected]"
],
"role": "roles/storage.legacyBucketWriter"
},
{
"members": [
"group:[email protected]",
"serviceAccount:k8s-infra-gcr-vuln-dashboard@k8s-artifacts-prod.iam.gserviceaccount.com"
"group:[email protected]",
"serviceAccount:[email protected]"
],
"role": "roles/storage.objectAdmin"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gs://k8s-conform-provider-openstack/ has no logging configuration.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"createTime": "2021-02-23T06:37:04.961097Z",
"name": "projects/228988630781/secrets/service-inspur-key",
"replication": {
"automatic": {}
}
}
11 changes: 11 additions & 0 deletions audit/projects/k8s-conform/secrets/service-inspur-key/iam.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"bindings": [
{
"members": [
"group:[email protected]"
],
"role": "roles/secretmanager.secretAccessor"
}
],
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"createTime": "2021-02-23T06:37:06.236110Z",
"name": "projects/228988630781/secrets/service-inspur-key/versions/1",
"replicationStatus": {
"automatic": {}
},
"state": "ENABLED"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"createTime": "2021-02-15T15:18:08.840992Z",
"name": "projects/228988630781/secrets/service-provider-openstack-key",
"replication": {
"automatic": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"bindings": [
{
"members": [
"group:[email protected]"
],
"role": "roles/secretmanager.secretAccessor"
}
],
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"createTime": "2021-02-15T15:18:09.874889Z",
"name": "projects/228988630781/secrets/service-provider-openstack-key/versions/1",
"replicationStatus": {
"automatic": {}
},
"state": "ENABLED"
}
]
8 changes: 8 additions & 0 deletions ...form/service-accounts/[email protected]/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"displayName": "service-inspur",
"email": "[email protected]",
"name": "projects/k8s-conform/serviceAccounts/[email protected]",
"oauth2ClientId": "114293481682780084349",
"projectId": "k8s-conform",
"uniqueId": "114293481682780084349"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
8 changes: 8 additions & 0 deletions ...-accounts/[email protected]/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"displayName": "service-provider-openstack",
"email": "[email protected]",
"name": "projects/k8s-conform/serviceAccounts/[email protected]",
"oauth2ClientId": "114482259319052246948",
"projectId": "k8s-conform",
"uniqueId": "114482259319052246948"
}
1 change: 1 addition & 0 deletions .../service-accounts/[email protected]/iam.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
4 changes: 4 additions & 0 deletions audit/projects/k8s-conform/services/compute/project-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
"limit": 200,
"metric": "SECURITY_POLICY_RULES"
},
{
"limit": 1000,
"metric": "XPN_SERVICE_PROJECTS"
},
{
"limit": 150,
"metric": "PACKET_MIRRORINGS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
"limit": 200,
"metric": "SECURITY_POLICY_RULES"
},
{
"limit": 1000,
"metric": "XPN_SERVICE_PROJECTS"
},
{
"limit": 150,
"metric": "PACKET_MIRRORINGS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
"limit": 200,
"metric": "SECURITY_POLICY_RULES"
},
{
"limit": 1000,
"metric": "XPN_SERVICE_PROJECTS"
},
{
"limit": 150,
"metric": "PACKET_MIRRORINGS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
"limit": 200,
"metric": "SECURITY_POLICY_RULES"
},
{
"limit": 1000,
"metric": "XPN_SERVICE_PROJECTS"
},
{
"limit": 150,
"metric": "PACKET_MIRRORINGS"
Expand Down
1 change: 1 addition & 0 deletions audit/projects/kubernetes-public/iam.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"members": [
"user:[email protected]",
"user:[email protected]",
"user:[email protected]",
"user:[email protected]"
],
"role": "roles/owner"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"createTime": "2021-02-23T23:53:36.776896Z",
"labels": {
"app": "slack-infra"
},
"name": "projects/127754664067/secrets/slack-moderator-words-config",
Comment on lines +2 to +6
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 me and is expected, did this as part of #1696 (comment)

"replication": {
"automatic": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"bindings": [
{
"members": [
"group:[email protected]"
],
"role": "roles/secretmanager.admin"
}
],
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"createTime": "2020-06-25T19:14:21.868654Z",
"labels": {
"app": "triage-party"
},
Comment on lines +3 to +5
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 me

"name": "projects/127754664067/secrets/triage-party-github-token",
"replication": {
"automatic": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@
"limit": 200,
"metric": "SECURITY_POLICY_RULES"
},
{
"limit": 1000,
"metric": "XPN_SERVICE_PROJECTS"
},
{
"limit": 150,
"metric": "PACKET_MIRRORINGS"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aaa us-central1 us-central1-c;us-central1-a;us-central1-f 6 RUNNING
aaa us-central1 us-central1-c;us-central1-a;us-central1-f 7 RUNNING
Copy link
Member

Choose a reason for hiding this comment

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

nit about dumping clusters in a format that isn't susceptible to auto-scaling changes

1 change: 0 additions & 1 deletion audit/projects/kubernetes-public/services/dns/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"number": "127754664067",
"quota": {
"dnsKeysPerManagedZone": 4,
"gkeClustersPerPolicy": 100,
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this is anything we did, guessing a quota type was removed from google cloud

"kind": "dns#quota",
"managedZones": 10000,
"managedZonesPerNetwork": 10000,
Expand Down