organizations

POST /v1/organizations/{organizationsId}/locations/{locationsId}/auditScopeReports:generate

Changed on

Generates an audit scope report for the given standard. The report includes the following: * The technical attributes and constraints that Audit Manager uses to verify your compliance with a framework. * A list of Google Cloud services and resources that are within the scope of the framework.

Request

  • Base URL
    https://auditmanager.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-auditmanager
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-auditmanager
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform

Path parameters

organizationsId, string required
locationsId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Request body

GenerateAuditScopeReportRequest required

Request message for GenerateAuditScopeReport.

complianceFramework, string

Required. Framework (set of controls) that the audit scope report is generated against. For example, NIST_800_53.

complianceStandard, string

Optional. Deprecated. The standard (industry or regulatory requirements) that the audit scope report is run against. Use the compliance_framework field instead.

parameterOverrides, object

Optional. Maps dynamic parameter overrides by Cloud Control resource name at execution time. For example, {"organizations/123/locations/global/cloudControls/control-1": {parameters: [...]}}

reportFormat, 'AUDIT_SCOPE_REPORT_FORMAT_UNSPECIFIED' | 'AUDIT_SCOPE_REPORT_FORMAT_ODF'

Required. Format for the audit scope report.

validateOnly, boolean

Optional. If true, only validates the request and does not generate the audit scope report. This executes standard request validation (such as schema, framework existence, scope, and IAM checks) and skips the apply phase. Use this field for the following purposes: * Infrastructure as Code (IaC): Allow tools like Terraform to run dry-run mutations (e.g., terraform plan) without creating real resources or incurring costs. * User Interface Validation: Enable real-time form and permission validation in custom UIs before submitting requests. * CI/CD & Automation: Test your scripts, permissions, and parameters safely without consuming resource quotas.

Response

Successful response

AuditScopeReport required

Audit scope report.

name, string

Identifier. Name for the audit scope report, in one of the following formats: * projects/{project}/locations/{location}/auditScopeReports/{audit_scope_report} * folders/{folder}/locations/{location}/auditScopeReports/{audit_scope_report} * organizations/{organization}/locations/{location}/auditScopeReports/{audit_scope_report}

scopeReportContents, string byte

Audit scope report content in byte format.

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-auditmanager was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-auditmanager was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was removed from the endpoint's security scheme Oauth2

    1 more change in this revision