Method: projects.scanConfigs.scanRuns.crawledUrls.list

List CrawledUrls under a given ScanRun.

HTTP request

GET https://websecurityscanner.googleapis.com/v1/{parent=projects/*/scanConfigs/*/scanRuns/*}/crawledUrls

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 IAM permission on the specified resource parent:

  • cloudsecurityscanner.crawledurls.list

Query parameters

Parameters
pageToken

string

A token identifying a page of results to be returned. This should be a nextPageToken value returned from a previous List request. If unspecified, the first page of results is returned.

pageSize

integer

The maximum number of CrawledUrls 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 crawledUrls.list method.

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

JSON representation
{
  "crawledUrls": [
    {
      object (CrawledUrl)
    }
  ],
  "nextPageToken": string
}
Fields
crawledUrls[]

object (CrawledUrl)

The list of CrawledUrls returned.

nextPageToken

string

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.

CrawledUrl

A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web Security Scanner Service crawls the web applications, following all links within the scope of sites, to find the URLs to test against.

JSON representation
{
  "httpMethod": string,
  "url": string,
  "body": string
}
Fields
httpMethod

string

Output only. The http method of the request that was used to visit the URL, in uppercase.

url

string

Output only. The URL that was crawled.

body

string

Output only. The body of the request that was used to visit the URL.