ScanRunArgs

data class ScanRunArgs(val endTime: Output<String>? = null, val executionState: Output<ScanRunExecutionState>? = null, val hasVulnerabilities: Output<Boolean>? = null, val name: Output<String>? = null, val progressPercent: Output<Int>? = null, val resultState: Output<ScanRunResultState>? = null, val startTime: Output<String>? = null, val urlsCrawledCount: Output<String>? = null, val urlsTestedCount: Output<String>? = null) : ConvertibleToJava<ScanRunArgs>

A ScanRun is a output-only resource representing an actual run of the scan.

Constructors

Link copied to clipboard
fun ScanRunArgs(endTime: Output<String>? = null, executionState: Output<ScanRunExecutionState>? = null, hasVulnerabilities: Output<Boolean>? = null, name: Output<String>? = null, progressPercent: Output<Int>? = null, resultState: Output<ScanRunResultState>? = null, startTime: Output<String>? = null, urlsCrawledCount: Output<String>? = null, urlsTestedCount: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val endTime: Output<String>? = null

The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.

Link copied to clipboard

The execution state of the ScanRun.

Link copied to clipboard
val hasVulnerabilities: Output<Boolean>? = null

Whether the scan run has found any vulnerabilities.

Link copied to clipboard
val name: Output<String>? = null

The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.

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

The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.

Link copied to clipboard
val resultState: Output<ScanRunResultState>? = null

The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".

Link copied to clipboard
val startTime: Output<String>? = null

The time at which the ScanRun started.

Link copied to clipboard
val urlsCrawledCount: Output<String>? = null

The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.

Link copied to clipboard
val urlsTestedCount: Output<String>? = null

The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.