- NAME
-
- gcloud audit-manager enrollments add - enroll a new scope
- SYNOPSIS
-
-
gcloud audit-manager enrollments add--eligible-gcs-buckets=BUCKETURI,[BUCKETURI,…] (--folder=FOLDER|--organization=ORGANIZATION|--project=PROJECT) [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Enroll a new scope.
- EXAMPLES
-
To enroll a project with ID
123withgs://test-bucket-1andgs://my-bucket-2as eligible storage buckets, run:gcloud audit-manager enrollments add --project=123 --eligible-gcs-buckets="gs://test-bucket-1,gs://my-bucket-2" - REQUIRED FLAGS
-
--eligible-gcs-buckets=BUCKETURI,[BUCKETURI,…]- Eligible cloud storage buckets where report and evidence can be uploaded.
-
Exactly one of these must be specified:
--folder=FOLDER- Folder Id to enroll
--organization=ORGANIZATION- Organization Id to enroll
--project=PROJECT- Project Id to enroll
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
-
This variant is also available:
gcloud alpha audit-manager enrollments add
gcloud audit-manager enrollments add
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.