Create Custom Role in GCP
Instructions on creating a custom role in GCP to allow Aikido manage snapshots and Cloud Storage objects.
Using Cloud Shell
gcloud iam roles create aikidoSecurityVmScannerRole \
--project=[YOUR PROJECT ID] \
--title="Aikido Security VM Scanner Role" \
--description="Permissions required for Aikido VM snapshot scanning" \
--stage=GA \
--permissions=\
compute.instances.list,\
compute.instanceGroups.get,\
compute.instanceGroups.list,\
compute.disks.createSnapshot,\
compute.disks.get,\
compute.snapshots.create,\
compute.snapshots.delete,\
compute.snapshots.get,\
compute.snapshots.list,\
compute.snapshots.setLabels,\
compute.globalOperations.get,\
compute.zoneOperations.get,\
cloudbuild.builds.create,\
cloudbuild.builds.get,\
storage.objects.create,\
storage.objects.delete,\
storage.objects.get,\
storage.objects.list,\
iam.serviceAccounts.actAsLast updated
Was this helpful?