CatalogDÆMON

DMN · Tool

gcloud

3 techniquesLinux · Windows · macOSDÆMONGPL-3.0

List accessible GCP projects

DÆMON
DiscoveryLinuxWindowsmacOS

Lists visible projects for the active account.

gcloud projects list --format=json
Evidence
Documentation checked · reviewed 2026-10-04
Environment
GCP
Compatibility
Examples use POSIX shell quoting. Consult installed tool help for version-specific options.
Expected result
Lists visible projects for the active account.
Troubleshooting
Service-account principal-set grants may not appear in this listing.
Side effects
No intentional configuration changes. Remote reads may generate audit events.
Native
Configuration and verification
Requires
Authenticated CLI session

Inspect the active gcloud configuration

DÆMON
DiscoveryLinuxWindowsmacOS

Shows configured account, project and other properties.

gcloud config list
Evidence
Documentation checked · reviewed 2026-10-04
Environment
GCP
Compatibility
Examples use POSIX shell quoting. Consult installed tool help for version-specific options.
Expected result
Shows configured account, project and other properties.
Troubleshooting
Configured properties do not prove that the account has access to the selected project.
Side effects
No intentional configuration changes. Remote reads may generate audit events.
Native
Configuration and verification
Requires
Authenticated CLI session

Read a project IAM policy

DÆMON
DiscoveryLinuxWindowsmacOS

Shows policy bindings visible to the current account.

gcloud projects get-iam-policy 'lab-project' --format=json
Evidence
Documentation checked · reviewed 2026-10-04
Environment
GCP
Compatibility
Examples use POSIX shell quoting. Consult installed tool help for version-specific options.
Expected result
Shows policy bindings visible to the current account.
Troubleshooting
Requires resourcemanager.projects.getIamPolicy; inherited grants need separate review.
Side effects
No intentional configuration changes. Remote reads may generate audit events.
Native
Configuration and verification
Requires
Authenticated CLI session