HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/help/man/man1/gcloud_audit-manager_audit-scopes_generate.1
.TH "GCLOUD_AUDIT\-MANAGER_AUDIT\-SCOPES_GENERATE" 1



.SH "NAME"
.HP
gcloud audit\-manager audit\-scopes generate \- generate Audit Scope



.SH "SYNOPSIS"
.HP
\f5gcloud audit\-manager audit\-scopes generate\fR \fB\-\-compliance\-framework\fR=\fICOMPLIANCE_FRAMEWORK\fR \fB\-\-location\fR=\fILOCATION\fR \fB\-\-output\-file\-name\fR=\fIOUTPUT_FILE_NAME\fR \fB\-\-report\-format\fR=\fIREPORT_FORMAT\fR (\fB\-\-folder\fR=\fIFOLDER\fR\ |\ \fB\-\-project\fR=\fIPROJECT\fR) [\fB\-\-output\-directory\fR=\fIOUTPUT_DIRECTORY\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

Generate a new Audit Scope.



.SH "EXAMPLES"

To generate an Audit Scope in the \f5us\-central1\fR region, for a project with
ID \f5123\fR for compliance framework \f5fedramp_moderate\fR in \f5odf\fR
format, run:

.RS 2m
$ gcloud audit\-manager audit\-scopes generate \-\-project="123" \e
    \-\-location="us\-central1" \e
    \-\-compliance\-framework="fedramp_moderate" \e
    \-\-report\-format="odf" \-\-output\-directory="scopes/currentyear" \e
    \-\-output\-file\-name="auditreport"
.RE



.SH "REQUIRED FLAGS"

.RS 2m
.TP 2m
\fB\-\-compliance\-framework\fR=\fICOMPLIANCE_FRAMEWORK\fR

Compliance Framework against which the Report must be generated. Eg:
FEDRAMP_MODERATE

.TP 2m
\fB\-\-location\fR=\fILOCATION\fR

The location where the scope should be generated.

.TP 2m
\fB\-\-output\-file\-name\fR=\fIOUTPUT_FILE_NAME\fR

The name by while scope report should be created .

.TP 2m
\fB\-\-report\-format\fR=\fIREPORT_FORMAT\fR

The format in which the audit scope report should be created.
\fIREPORT_FORMAT\fR must be (only one value is supported): \fBodf\fR.

.TP 2m

Exactly one of these must be specified:


.RS 2m
.TP 2m
\fB\-\-folder\fR=\fIFOLDER\fR

Folder Id for which to generate audit scope

.TP 2m
\fB\-\-project\fR=\fIPROJECT\fR

Project Id for which to generate audit scope


.RE
.RE
.sp

.SH "OPTIONAL FLAGS"

.RS 2m
.TP 2m
\fB\-\-output\-directory\fR=\fIOUTPUT_DIRECTORY\fR

The directory path where the scope report should be created .


.RE
.sp

.SH "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 \fB$ gcloud help\fR for details.



.SH "NOTES"

This variant is also available:

.RS 2m
$ gcloud alpha audit\-manager audit\-scopes generate
.RE