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!

Hai trovato utile questa pagina? Facci sapere cosa ne pensi:

Invia feedback per...

Cloud Security Scanner