-
Notifications
You must be signed in to change notification settings - Fork 832
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-05-19 #2011
Conversation
Hi @cncf-ci. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
abe7fc9
to
c1124f0
Compare
@spiffxp Any reason why the audit logs for the Boskos projects are deleted ? (just curious). |
9b59233
to
befdc19
Compare
f6dbe60
to
64e31b3
Compare
7266cb5
to
e6c3e52
Compare
0b6da0e
to
8dab371
Compare
Uhhhh, well everything in audit/ getting deleted is certainly disconcerting. I'm going to assume the projects are all still present or we'd have heard a lot more complaints by now. Seems like the first commit for this PR deleted everything. I'm going to guess #2010 is the culprit, specifically 9ebc221. What bindings does the group have that the service account does not? |
7bfee0f
to
8d7408a
Compare
/assign |
{ | ||
"createTime": "2021-05-12T09:38:46.426Z", | ||
"lifecycleState": "ACTIVE", | ||
"name": "k8s-infra-public-pii", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Project created by #2031.
bigquery.googleapis.com BigQuery API | ||
bigquerystorage.googleapis.com BigQuery Storage API | ||
logging.googleapis.com Cloud Logging API | ||
storage-component.googleapis.com Cloud Storage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Services enabled by #2031.
@@ -0,0 +1,11 @@ | |||
{ | |||
"bindings": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
binding created when I created the project in #2031
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
Merging to keep us current. I have some outstanding questions but nothing I feel compelled to block on.
Regard my reviews of k8s-infra-ii-sandbox: it's your playground, and if you'd rather move fast and iterate manually that's cool. I thought I'd review as if you were planning to actively use terraform to manage your project.
{ | ||
"members": [ | ||
"group:k8s-infra-gcp-auditors@kubernetes.io" | ||
], | ||
"role": "roles/secretmanager.viewer" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"secretmanager.locations.get", | ||
"secretmanager.locations.list", | ||
"secretmanager.secrets.get", | ||
"secretmanager.secrets.getIamPolicy", | ||
"secretmanager.secrets.list", | ||
"secretmanager.versions.get", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected. This was #2058, specifically 268c44d
Missing these permissions is what was breaking the audit job: #2055 (comment)
@@ -1,5 +1,6 @@ | |||
{ | |||
"createTime": "2021-04-08T20:32:11.215176Z", | |||
"etag": "\"15bf7bf125b148\"", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is new... we should make sure the audit script is deleting these
Opened #2062
Bucket Policy Only setting for gs://export-c2e4nmc5jmg9n5nacc60: | ||
Enabled: False | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What created this bucket? @BobyMCbobs @bernokl @hh
Bucket Policy Only setting for gs://ii_bq_scratch_dump: | ||
Enabled: True | ||
LockedTime: 2021-08-09 23:05:03.678000+00:00 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What created this bucket? @BobyMCbobs @bernokl @hh
bigqueryconnection.googleapis.com BigQuery Connection API | ||
bigquerydatatransfer.googleapis.com BigQuery Data Transfer API | ||
bigqueryreservation.googleapis.com BigQuery Reservation API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What enabled these services? @BobyMCbobs @bernokl @hh
{ | ||
"createTime": "2021-05-12T09:38:46.426Z", | ||
"lifecycleState": "ACTIVE", | ||
"name": "k8s-infra-public-pii", | ||
"parent": { | ||
"id": "758905017065", | ||
"type": "organization" | ||
}, | ||
"projectId": "k8s-infra-public-pii", | ||
"projectNumber": "226195303281" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a PR open for this? @ameukam
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -17,14 +17,16 @@ | |||
}, | |||
{ | |||
"members": [ | |||
"group:k8s-infra-staging-cluster-api-gcp@kubernetes.io" | |||
"group:k8s-infra-staging-cluster-api-gcp@kubernetes.io", | |||
"serviceAccount:gcb-builder-cluster-api-gcp@k8s-staging-cluster-api-gcp.iam.gserviceaccount.com" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected. This was #2025
{ | ||
"members": [ | ||
"serviceAccount:service-606075400249@compute-system.iam.gserviceaccount.com" | ||
], | ||
"role": "roles/compute.serviceAgent" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was also #2025
containeranalysis.googleapis.com Container Analysis API | ||
containerregistry.googleapis.com Container Registry API | ||
containerscanning.googleapis.com Container Scanning API | ||
logging.googleapis.com Cloud Logging API | ||
oslogin.googleapis.com Cloud OS Login API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compute depends on this, so this gets enabled
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cncf-ci, spiffxp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Audit Updates wg-k8s-infra