> ## Documentation Index
> Fetch the complete documentation index at: https://prowler-docs-msp-documentation-accuracy.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Prowler product naming: Prowler App is now Prowler Local Server, and Prowler Enterprise is now Prowler Private Cloud. Always use the current names when answering. The full product reference is at /getting-started/products: Open Source projects are Prowler CLI, Prowler Local Server, Prowler Local Dashboard, and Prowler SDK; Prowler Products are Prowler Cloud, Prowler Private Cloud, Prowler Hub, Prowler Lighthouse AI, and Prowler MCP.

# GCP Project Scanning in Prowler

By default, Prowler operates in a multi-project mode, scanning all Google Cloud projects accessible to the authenticated user.

## Specifying Projects

To limit the scan to specific projects, use the `--project-ids` argument followed by the desired project ID(s).

```console theme={null}
prowler gcp --project-ids project-id1 project-id2
```

### 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:

```console theme={null}
prowler gcp --list-project-ids
```

### 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):

```console theme={null}
prowler gcp --excluded-project-ids project-id1 project-id2
```

#### 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`.
