- [HTTP request](https://docs.cloud.google.com/workload-manager/docs/reference/rest/v1/projects.locations.evaluations.executions.scannedResources/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/workload-manager/docs/reference/rest/v1/projects.locations.evaluations.executions.scannedResources/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/workload-manager/docs/reference/rest/v1/projects.locations.evaluations.executions.scannedResources/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/workload-manager/docs/reference/rest/v1/projects.locations.evaluations.executions.scannedResources/list#body.request_body)
- [Response body](https://docs.cloud.google.com/workload-manager/docs/reference/rest/v1/projects.locations.evaluations.executions.scannedResources/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/workload-manager/docs/reference/rest/v1/projects.locations.evaluations.executions.scannedResources/list#body.ListScannedResourcesResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/workload-manager/docs/reference/rest/v1/projects.locations.evaluations.executions.scannedResources/list#body.aspect)
- [ScannedResource](https://docs.cloud.google.com/workload-manager/docs/reference/rest/v1/projects.locations.evaluations.executions.scannedResources/list#ScannedResource)
  - [JSON representation](https://docs.cloud.google.com/workload-manager/docs/reference/rest/v1/projects.locations.evaluations.executions.scannedResources/list#ScannedResource.SCHEMA_REPRESENTATION)
- [Try it!](https://docs.cloud.google.com/workload-manager/docs/reference/rest/v1/projects.locations.evaluations.executions.scannedResources/list#try-it)

List all scanned resources for a single Execution.

### HTTP request

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

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. Parent for ListScannedResourcesRequest. |

### Query parameters

| Parameters ||
|---|---|
| `rule` | `string` Rule name. |
| `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. |
| `orderBy` | `string` Field to sort by. See <https://google.aip.dev/132#ordering> for more details. |

### Request body

The request body must be empty.

### Response body

Response message for the scannedResources.list RPC.

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

| JSON representation |
|---|
| ``` { "scannedResources": [ { object (`https://docs.cloud.google.com/workload-manager/docs/reference/rest/v1/projects.locations.evaluations.executions.scannedResources/list#ScannedResource`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `scannedResources[]` | ``object (`https://docs.cloud.google.com/workload-manager/docs/reference/rest/v1/projects.locations.evaluations.executions.scannedResources/list#ScannedResource`)`` All scanned resources in response. |
| `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`

## ScannedResource

A scanned resource.

| JSON representation |
|---|
| ``` { "resource": string, "type": string } ``` |

| Fields ||
|---|---|
| `resource` | `string` Resource name. |
| `type` | `string` Resource type. |