Documentation
¶
Overview ¶
Package billing wraps GCP Cloud Billing for the cloudlist `balance` asset.
GCP doesn't expose a credit balance via API; the closest management-plane signal is the list of billing accounts the caller's principal can see. Each open account corresponds to a paid project bucket — CSPM detectors use this to flag accounts unexpectedly disabled / detached.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
func (*Driver) QueryAccountBalance ¶
QueryAccountBalance prints the visible billing accounts via logger. Errors are surfaced as Info to keep cloudlist resilient when the caller credential lacks `billing.accounts.list`.
Click to show internal directories.
Click to hide internal directories.