- NAME
-
- gcloud alpha audit-manager enrollments add - enroll a new scope
- SYNOPSIS
-
-
gcloud alpha audit-manager enrollments add
--eligible-gcs-buckets
=BUCKET
URI
,[BUCKET
URI
,…] (--folder
=FOLDER
|--organization
=ORGANIZATION
|--project
=PROJECT
) [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Enroll a new scope. - EXAMPLES
-
To enroll a project with ID
123
withgs://test-bucket-1
andgs://my-bucket-2
as eligible storage buckets, run:gcloud alpha audit-manager enrollments add --project=123 --eligible-gcs-buckets="gs://test-bucket-1,gs://my-bucket-2"
- REQUIRED FLAGS
-
--eligible-gcs-buckets
=BUCKET
URI
,[BUCKET
URI
,…]- 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 help
for details. - NOTES
- This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
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 2024-10-29 UTC.