gcloud audit-manager enrollments add

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 ID123 withgs://test-bucket-1 andgs://my-bucket-2 as eligiblestorage buckets, run:
gcloudaudit-managerenrollmentsadd--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 help for details.

NOTES
This variant is also available:
gcloudalphaaudit-managerenrollmentsadd

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.