Specifying Projects
To limit the scan to specific projects, use the--project-ids
argument followed by the desired project ID(s).
Pattern-Based Project Selection
Use an asterisk*
to scan projects that match a pattern. For example, prowler gcp --project-ids "prowler*"
will scan all the projects that start with prowler
.
Listing Accessible Projects
To view a list of projects the user has access to, run:Excluding Projects in Prowler
Project Exclusion
To exclude specific Google Cloud projects from the scan, use the--excluded-project-ids
argument followed by the project ID(s):
Pattern-Based Project Exclusion
Use an asterisk*
to exclude projects that match a pattern. For example, prowler gcp --excluded-project-ids "sys*"
will exclude all the projects that start with sys
.