- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
HTTP request
GET https://websecurityscanner.googleapis.com/v1/{parent=projects/*/scanConfigs/*}/scanRuns
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The parent resource name, which should be a scan resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}'. Authorization requires the following IAM permission on the specified resource  
 | 
Query parameters
| Parameters | |
|---|---|
| pageToken | 
 A token identifying a page of results to be returned. This should be a  | 
| pageSize | 
 The maximum number of ScanRuns to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value. | 
Request body
The request body must be empty.
Response body
Response for the scanRuns.list method.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "scanRuns": [
    {
      object ( | 
| Fields | |
|---|---|
| scanRuns[] | 
 The list of ScanRuns returned. | 
| nextPageToken | 
 Token to retrieve the next page of results, or empty if there are no more results in the list. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.