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": integer
}
Fields
findingType

string

The finding type associated with the stats.

findingCount

integer

The count of findings belonging to this finding type.

Try it!