Web Security Scanner API . projects . scanConfigs . scanRuns . findingTypeStats

Instance Methods

list(parent, x__xgafv=None)

List all FindingTypeStats under a given ScanRun.

Method Details

list(parent, x__xgafv=None)
List all FindingTypeStats under a given ScanRun.

Args:
  parent: string, Required.
The parent resource name, which should be a scan run resource name in the
format
'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for the `ListFindingTypeStats` method.
    "findingTypeStats": [ # The list of FindingTypeStats returned.
      { # A FindingTypeStats resource represents stats regarding a specific FindingType
          # of Findings under a given ScanRun.
        "findingCount": 42, # Output only.
            # The count of findings belonging to this finding type.
        "findingType": "A String", # Output only.
            # The finding type associated with the stats.
      },
    ],
  }