Method: projects.scanConfigs.scanRuns.findingTypeStats.list

List all FindingTypeStats under a given ScanRun.

HTTP request

GET https://websecurityscanner.googleapis.com/v1beta/{parent=projects/*/scanConfigs/*/scanRuns/*}/findingTypeStats

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

Authorization requires the following Google IAM permission on the specified resource parent:

  • cloudsecurityscanner.scanruns.getSummary

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response for the findingTypeStats.list method.

JSON representation
{
  "findingTypeStats": [
    {
      object (FindingTypeStats)
    }
  ]
}
Fields
findingTypeStats[]

object (FindingTypeStats)

The list of FindingTypeStats returned.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

FindingTypeStats

A FindingTypeStats resource represents stats regarding a specific FindingType of Findings under a given ScanRun.

JSON representation
{
  "findingType": string,
  "findingCount": number
}
Fields
findingType

string

Output only. The finding type associated with the stats.

findingCount

number

Output only. The count of findings belonging to this finding type.

Try it!

本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
Cloud Security Scanner