Open rahmatrhd opened 1 year ago
For dataplex provider, these permissions also would be needed -
bigquery.dataPolicies.get
bigquery.dataPolicies.getIamPolicy
bigquery.dataPolicies.list
bigquery.dataPolicies.setIamPolicy
Have granted only these permissions to guardian SA for gcloud_iam provider and it works fine.
iam.roles.get
iam.roles.list
resourcemanager.projects.getIamPolicy
resourcemanager.projects.setIamPolicy
@bsushmith are there any GCP predefined roles that only include those permissions?
There's no predefined role with this set of persmissions. we had to create a custom role for this with a name like - project.iamManager
In existing docs, the required roles mentioned for each GCP provider are not the minimal necessary ones. Instead, we mention the available admin/owner level roles that could contain unnecessary permissions for Guardian to access the services. Proposing to list the required GCP permissions (plus the recommended role(s) that contains all the required permissions) so user can even create a custom role to only give the necessary permissions.
Existing docs:
roles/bigquery.dataOwner
roles/storage.admin
roles/iam.securityAdmin
Proposed update:
roles/resourcemanager.projectIamAdmin
+roles/iam.roleViewer
*) will test if the listed permissions above are sufficient for Guardian needs