Method: organizations.locations.frameworkAuditScopeReports.generateFrameworkAuditScopeReport

Generates an audit scope report for a framework.

HTTP request

POST https://cloudsecuritycompliance.googleapis.com/v1/{scope=organizations/*/locations/*}/frameworkAuditScopeReports:generateFrameworkAuditScopeReport

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
scope

string

Required. The organization, folder, or project for the audit report.

Supported formats are the following:

  • projects/{projectId}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • organizations/{organization_id}/locations/{location}

Request body

The request body contains data with the following structure:

JSON representation
{
  "reportFormat": enum (Format),
  "complianceFramework": string
}
Fields
reportFormat

enum (Format)

Required. The format that the scope report is returned in.

complianceFramework

string

Required. The compliance framework that the scope report is generated for.

Response body

If successful, the response body contains an instance of GenerateFrameworkAuditScopeReportResponse.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the scope resource:

  • cloudsecuritycompliance.auditScopeReports.generate

For more information, see the IAM documentation.