Skip to main content

crawled_urls

Creates, updates, deletes, gets or lists a crawled_urls resource.

Overview

Namecrawled_urls
TypeResource
Idgoogle.websecurityscanner.crawled_urls

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
bodystringOutput only. The body of the request that was used to visit the URL.
httpMethodstringOutput only. The http method of the request that was used to visit the URL, in uppercase.
urlstringOutput only. The URL that was crawled.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprojectsId, scanConfigsId, scanRunsIdpageToken, pageSizeList CrawledUrls under a given ScanRun.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
projectsIdstring
scanConfigsIdstring
scanRunsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

List CrawledUrls under a given ScanRun.

SELECT
body,
httpMethod,
url
FROM google.websecurityscanner.crawled_urls
WHERE projectsId = '{{ projectsId }}' -- required
AND scanConfigsId = '{{ scanConfigsId }}' -- required
AND scanRunsId = '{{ scanRunsId }}' -- required
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}';