Method: projects.locations.evaluations.executions.results.list

Lists the result of a single evaluation.

HTTP request

GET https://workloadmanager.googleapis.com/v1/{parent=projects/*/locations/*/evaluations/*/executions/*}/results

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The execution results. Format: {parent}/evaluations/*/executions/*/results

Query parameters

Parameters
pageSize

integer

Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

pageToken

string

A token identifying a page of results the server should return.

filter

string

Filtering results

Request body

The request body must be empty.

Response body

Message for response of list execution results

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

JSON representation
{
  "executionResults": [
    {
      object (ExecutionResult)
    }
  ],
  "nextPageToken": string
}
Fields
executionResults[]

object (ExecutionResult)

The versions from the specified publisher.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

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

ExecutionResult

Message describing the result of an execution

JSON representation
{
  "violationMessage": string,
  "severity": string,
  "rule": string,
  "documentationUrl": string,
  "resource": {
    object (Resource)
  },
  "violationDetails": {
    object (ViolationDetails)
  }
}
Fields
violationMessage

string

The violation message of an execution.

severity

string

The severity of violation.

rule

string

The rule that is violated in an evaluation.

documentationUrl

string

The URL for the documentation of the rule.

resource

object (Resource)

The resource that violates the rule.

violationDetails

object (ViolationDetails)

The details of violation in an evaluation result.

Resource

Message represent resource in execution result

JSON representation
{
  "type": string,
  "name": string,
  "serviceAccount": string
}
Fields
type

string

The type of resource.

name

string

The name of the resource.

serviceAccount

string

The service account associated with the resource.

ViolationDetails

Message describing the violation in an evaluation result.

JSON representation
{
  "asset": string,
  "serviceAccount": string,
  "observed": {
    string: string,
    ...
  }
}
Fields
asset

string

The name of the asset.

serviceAccount

string

The service account associated with the resource.

observed

map (key: string, value: string)

Details of the violation.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.