Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ScanRunErrorTrace

import type { ScanRunErrorTrace } from "https://googleapis.deno.dev/v1/websecurityscanner:v1.ts";

Output only. Defines an error trace message for a ScanRun.

interface ScanRunErrorTrace {
code?:
| "CODE_UNSPECIFIED"
| "INTERNAL_ERROR"
| "SCAN_CONFIG_ISSUE"
| "AUTHENTICATION_CONFIG_ISSUE"
| "TIMED_OUT_WHILE_SCANNING"
| "TOO_MANY_REDIRECTS"
| "TOO_MANY_HTTP_ERRORS"
| "STARTING_URLS_CRAWL_HTTP_ERRORS";
mostCommonHttpErrorCode?: number;
scanConfigError?: ScanConfigError;
}

§Properties

§
code?: "CODE_UNSPECIFIED" | "INTERNAL_ERROR" | "SCAN_CONFIG_ISSUE" | "AUTHENTICATION_CONFIG_ISSUE" | "TIMED_OUT_WHILE_SCANNING" | "TOO_MANY_REDIRECTS" | "TOO_MANY_HTTP_ERRORS" | "STARTING_URLS_CRAWL_HTTP_ERRORS"
[src]

Output only. Indicates the error reason code.

§
mostCommonHttpErrorCode?: number
[src]

Output only. If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.

§
scanConfigError?: ScanConfigError
[src]

Output only. If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.