RequestScansForSiteAsync
Requests every scan of a site, of all types and statuses.
Declaration
public async Task<ScanResult> RequestScansForSiteAsync(string siteId, int timeoutMs = DefaultTimeoutMs, CancellationToken cancellationToken = default)
Summary
Returns
The scan result. A token scoped to site-assets:read cannot list scans and gets
HttpForbidden.
Parameters
| Name | Type | Summary |
|---|---|---|
| siteId | string | The site ID to list scans for. |
| timeoutMs | int | Maximum time to wait for the request to complete. |
| cancellationToken | CancellationToken | Token to cancel the operation. |
Requests every scan of a site, of all types and statuses.