Skip to main content

ScanRun

No description

type ScanRun {
asset: Asset
assetId: ID
branchId: ID
controlSyncStatusId: ID
createdAt: ISO8601DateTime
durationInSeconds: Int
errorClass: String
errorMessage: String
id: ID!
kind: String
metadata: JSON
state: String
}

Fields

ScanRun.asset ● Asset object

ScanRun.assetId ● ID scalar

ScanRun.branchId ● ID scalar

Branch this run scanned; null for asset-wide runs (DAST, CSPM).

ScanRun.controlSyncStatusId ● ID scalar

ControlSyncStatus this run produced; null until the scanner reports in.

ScanRun.createdAt ● ISO8601DateTime scalar

ScanRun.durationInSeconds ● Int scalar

Wall clock for this run: measured from started_at when the scanner reported progress, otherwise from enqueued_at. Null until the run has finished.

ScanRun.errorClass ● String scalar

Type of the failure that ended this run. Null unless it failed: a cancelled or superseded run is a deliberate stop, not an error.

ScanRun.errorMessage ● String scalar

What failed, and the traceback tail when the reporter had one. Null unless the run failed; see terminal_reason on a PR run for why it was stopped.

ScanRun.id ● ID! non-null scalar

ScanRun.kind ● String scalar

ScanRun.metadata ● JSON scalar

How the run was produced. Shape depends on kind: an AST run carries the agent's context (version, CI provider, commit, scan types), a CSPM run its integration.

ScanRun.state ● String scalar

Member Of

Asset object ● CreateScanRunPayload object ● TriggerAstScanPayload object ● UpdateScanRunPayload object

Contribute to the Docs

Found something outdated or missing? Help us improve the documentation with a quick suggestion or edit.

How to contribute

Resources

By exploring our content, you'll find resources that will enhance your understanding of the importance of a Security Application Program.

Conviso Blog: Explore our blog, which offers a collection of articles and posts covering a wide range of AppSec topics. The content on the blog is primarily in English.

Conviso's YouTube Channel: Access a wealth of informative videos covering various topics related to AppSec. Please note that the content is primarily in Portuguese.