mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-14 00:46:53 +00:00
48 lines
1.4 KiB
Text
48 lines
1.4 KiB
Text
NAME
|
|
gcloud audit-manager enrollments add - enroll a new scope
|
|
|
|
SYNOPSIS
|
|
gcloud audit-manager enrollments add --eligible-gcs-buckets=BUCKET
|
|
URI,[BUCKET URI,...]
|
|
(--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT)
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Enroll a new scope.
|
|
|
|
EXAMPLES
|
|
To enroll a project with ID 123 with gs://test-bucket-1 and
|
|
gs://my-bucket-2 as 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=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 variant is also available:
|
|
|
|
$ gcloud alpha audit-manager enrollments add
|
|
|