-
Notifications
You must be signed in to change notification settings - Fork 822
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-followup: remove stale iam bindings for e2e projects #1722
audit-followup: remove stale iam bindings for e2e projects #1722
Conversation
extracts some generic iam functions out of lib.sh changes: - ensure_custom_org_role_from_file -> ensure_custom_iam_role_from_file, support "org" or "project:foo" scopes - add comment for custom_org_role_name - add ensure_project_role_binding - add ensure_removed_project_role_binding - add _ensure_removed_resource_role_binding the latter two are going to be used for audit reconciliation as we find stale bindings
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 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 |
/area infra/auditing |
@@ -22,7 +22,7 @@ set -o nounset | |||
set -o pipefail | |||
|
|||
SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}") | |||
. "${SCRIPT_DIR}/lib.sh" | |||
. "${SCRIPT_DIR}/../lib.sh" |
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.
fixes regression introduced in #1636
/lgtm |
/hold cancel |
/kind cleanup |
Related to refactoring infra/gcp, ref: #516 |
Should address the following:
group:[email protected]
should not haveroles/viewer
(ref: audit followup: inconsistent role bindings for k8s-infra-prow-viewers on e2e projects #1661)Should partially address the following:
user:*
should not haveroles/owner
for projects (ref: Infra turnup: Whoever creates the project is listed as Owner #299)