Billing account
Workload scanning creates a dedicated scanning project in your organization, and that project must have a billing account linked before onboarding can create anything in it.- Find your billing account ID with
gcloud billing accounts list, or in the Google Cloud billing console. - Whoever runs the onboarding script or
terraform applyneeds thebilling.resourceAssociations.createpermission on that billing account: typically granted through the Billing Account User role. This is separate from the Organization Admin access the base GCP integration needs, and at some organizations it’s held by a different person or team.
Organization policies that affect scanning
The onboarding script checks the policies below automatically and tells you what to do before it creates anything. Review them ahead of time if you already know your organization enforces them:
None of these need to be pre-configured for scanning to work: they only matter if your organization already enforces them. The onboarding script’s preflight checks report which ones apply to your organization and what to change, so a failure here is loud and specific rather than a silent skipped scan.