docs(tutorials): improve quality redrive (#7915)

Co-authored-by: Daniel Barranquero <danielbo2001@gmail.com>
Co-authored-by: Andoni Alonso <14891798+andoniaf@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-07-29 11:03:52 +02:00
1 parent 1bdcf2c7f1
commit 9ca1899ebf
45 files changed
+1305 -872

No files matched your search

+22 -13
View File
@@ -1,28 +1,37 @@
# GCP Projects
# GCP Project Scanning in Prowler
By default, Prowler is multi-project, which means that is going to scan all the Google Cloud projects that the authenticated user has access to. If you want to scan a specific project(s), you can use the `--project-ids` argument.
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
prowler gcp --project-ids project-id1 project-id2
```
???+ note
You can use asterisk `*` to scan projects that match a pattern. For example, `prowler gcp --project-ids "prowler*"` will scan all the projects that start with `prowler`.
### Pattern-Based Project Selection
???+ note
If you want to know the projects that you have access to, you can use the following command:
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`.
```console
prowler gcp --list-project-ids
```
### Listing Accessible Projects
### Exclude Projects
To view a list of projects the user has access to, run:
If you want to exclude some projects from the scan, you can use the `--excluded-project-ids` argument.
```console
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
prowler gcp --excluded-project-ids project-id1 project-id2
```
???+ note
You can use 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`.
#### 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`.