gcloud alpha audit-manager audit-reports generate Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha audit-manager audit-reports generate - generate Audit Report
- SYNOPSIS
gcloud alpha audit-manager audit-reports generate--compliance-framework=COMPLIANCE_FRAMEWORK--gcs-uri=GCS_URI--location=LOCATION--report-format=REPORT_FORMAT(--folder=FOLDER|--project=PROJECT)[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)Generate a new Audit Report.- EXAMPLES
- To generate an Audit Report in the
us-central1region, for aproject with ID123for compliance frameworkfedramp_moderateinodfformat and store it ings://testbucketauditmanagerbucket, run:gcloudalphaaudit-manageraudit-reportsgenerate--project=123--location=us-central1--compliance-framework=fedramp_moderate--report-format=odf--gcs-uri=gs://testbucketauditmanager - REQUIRED FLAGS
--compliance-framework=COMPLIANCE_FRAMEWORK- Compliance Framework against which the Report must be generated. Eg:FEDRAMP_MODERATE
--gcs-uri=GCS_URI- Destination Cloud storage bucket where report and evidence must be uploaded. TheCloud storage bucket provided here must be selected among the buckets enteredduring the enrollment process.
--location=LOCATION- The location where the report should be generated.
--report-format=REPORT_FORMAT- The format in which the audit report should be created.
REPORT_FORMATmust be (only one value is supported):odf. - Exactly one of these must be specified:
--folder=FOLDER- Folder Id for which to generate audit report
--project=PROJECT- Project Id for which to generate audit report
- 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 helpfor details. - NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gcloudaudit-manageraudit-reportsgenerate
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.