mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 23:49:35 +00:00
63 lines
2.1 KiB
Text
63 lines
2.1 KiB
Text
NAME
|
|
gcloud audit-manager audit-scopes generate - generate Audit Scope
|
|
|
|
SYNOPSIS
|
|
gcloud audit-manager audit-scopes generate
|
|
--compliance-framework=COMPLIANCE_FRAMEWORK --location=LOCATION
|
|
--output-file-name=OUTPUT_FILE_NAME --report-format=REPORT_FORMAT
|
|
(--folder=FOLDER | --project=PROJECT)
|
|
[--output-directory=OUTPUT_DIRECTORY] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Generate a new Audit Scope.
|
|
|
|
EXAMPLES
|
|
To generate an Audit Scope in the us-central1 region, for a project with ID
|
|
123 for compliance framework fedramp_moderate in odf format, run:
|
|
|
|
$ gcloud audit-manager audit-scopes generate --project="123" \
|
|
--location="us-central1" \
|
|
--compliance-framework="fedramp_moderate" \
|
|
--report-format="odf" --output-directory="scopes/currentyear" \
|
|
--output-file-name="auditreport"
|
|
|
|
REQUIRED FLAGS
|
|
--compliance-framework=COMPLIANCE_FRAMEWORK
|
|
Compliance Framework against which the Report must be generated. Eg:
|
|
FEDRAMP_MODERATE
|
|
|
|
--location=LOCATION
|
|
The location where the scope should be generated.
|
|
|
|
--output-file-name=OUTPUT_FILE_NAME
|
|
The name by while scope report should be created .
|
|
|
|
--report-format=REPORT_FORMAT
|
|
The format in which the audit scope report should be created.
|
|
REPORT_FORMAT must be (only one value is supported): odf.
|
|
|
|
Exactly one of these must be specified:
|
|
|
|
--folder=FOLDER
|
|
Folder Id for which to generate audit scope
|
|
|
|
--project=PROJECT
|
|
Project Id for which to generate audit scope
|
|
|
|
OPTIONAL FLAGS
|
|
--output-directory=OUTPUT_DIRECTORY
|
|
The directory path where the scope report should be created .
|
|
|
|
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 audit-scopes generate
|
|
|