File: //snap/google-cloud-cli/396/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