ScanRunErrorTraceArgs

data class ScanRunErrorTraceArgs(val code: Output<ScanRunErrorTraceCode>? = null, val mostCommonHttpErrorCode: Output<Int>? = null, val scanConfigError: Output<ScanConfigErrorArgs>? = null) : ConvertibleToJava<ScanRunErrorTraceArgs>

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

Constructors

Link copied to clipboard
constructor(code: Output<ScanRunErrorTraceCode>? = null, mostCommonHttpErrorCode: Output<Int>? = null, scanConfigError: Output<ScanConfigErrorArgs>? = null)

Properties

Link copied to clipboard
val code: Output<ScanRunErrorTraceCode>? = null

Indicates the error reason code.

Link copied to clipboard
val mostCommonHttpErrorCode: Output<Int>? = null

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.

Link copied to clipboard

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.

Functions

Link copied to clipboard
open override fun toJava(): ScanRunErrorTraceArgs