-
Notifications
You must be signed in to change notification settings - Fork 828
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
BigQuery datasets are not reported in the daily audit report #2029
Comments
/reopen |
@spiffxp: Reopened this issue. In response to this:
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. |
Looking at the audit PR more closely, the Kubernetes-public resources weren't deleted. I'm guessing this means Lines 22 to 25 in 3365798
And the auditor service account has that role for kubernetes-public: k8s.io/audit/projects/kubernetes-public/iam.json Lines 149 to 156 in 3365798
But not for the organization Which makes me wonder if, just like org admins get roles/owner + a custom role for supplementary stuff, we should do the same for auditors. Or, see if there's a way to give audit.viewer read access to everything it needs to export metadata about big query datasets (as there is with GCS) |
Using #2100 to test First run, I get an error
Next run works though
That's kicking loose a comment about |
# the 'bq show' command is called as a hack to dodge the config prompts that bq presents
# the first time it is run. A newline is passed to stdin to skip the prompt for default project
# when the service account in use has access to multiple projects.
check(['bq', 'show'], stdin='\n') |
@spiffxp: Closing this issue. In response to this:
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. |
/milestone v1.22 |
I noticed some BQ datasets of some projects are not reported in the daily audit. Like
k8s-artificats-prod
:The current report is empty: https://github.com/kubernetes/k8s.io/blob/main/audit/projects/k8s-artifacts-prod/services/bigquery/bigquery.datasets.json
It would great to have them part of the daily report.
/assign @spiffxp @thockin
cc @hh
The text was updated successfully, but these errors were encountered: