Get Cloud Account Owner - Generic

Retrieves the owners of a cloud account based on account ID. Current supported platforms: - GCP - Prisma Cloud.

Common Playbooks · 13 tasks · 2 inputs · 1 output

Inputs

  • AccountID — The account ID to search the owner for.
  • Provider — The account CSP. Available options: - PrismaCloud - GCP

Outputs

  • CloudAccountOwner — The owner's email, if found.

Commands used

gcp-iam-project-iam-policy-get gcp-iam-projects-get prisma-cloud-account-list prisma-cloud-account-owner-list

Flowchart

yes GCP Prisma Cloud yes yes yes Start Start Is there an account ID? Is there an account ID? Check CSP Check CSP GCP - get project's policy - gcp-iam-project-iam-policy-get GCP - get project's policy gcp-iam-project-iam-policy-get Set owner - SetAndHandleEmpty Set owner SetAndHandleEmpty Get project - gcp-iam-projects-get Get project gcp-iam-projects-get Project found? Project found? Done Done List Prisma Cloud Accounts - prisma-cloud-account-list List Prisma Cloud Accounts prisma-cloud-account-list Account found? Account found? Get account owner - prisma-cloud-account-owner-list Get account owner prisma-cloud-account-owner-list Set owner - SetAndHandleEmpty Set owner SetAndHandleEmpty Is there a provider? Is there a provider?