mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
51 lines
1.6 KiB
Text
51 lines
1.6 KiB
Text
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 with gs://test-bucket-1 and
|
|
gs://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. This variant is also available:
|
|
|
|
$ gcloud audit-manager enrollments add
|
|
|