Method: projects.scanConfigs.scanRuns.findingTypeStats.list

List all FindingTypeStats under a given ScanRun.

HTTP request

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

The URL uses Google API HTTP annotation 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 Auth Guide.

FindingTypeStats

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

JSON representation
{
  "findingType": enum(FindingType),
  "findingCount": number
}
Fields
findingType

enum(FindingType)

Output only. The finding type associated with the stats.

findingCount

number

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

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Security Scanner