Queue a new run of an existing Scan.
- scan
ScanRun!
ScanRun!- idScanRun identifier (ULID).
- scanScan!The Scan this run belongs to.
- providerConfigs[ScanProviderConfig!]!Provider configurations snapshotted from the Scan at trigger time.
- scope[ScanScope!]!Resources to discover, snapshotted from the Scan at trigger time.
- stateScanRunStateLifecycle state.
- workerUlidULID of the worker that picked up this run, if any.
- resourceCountHow many resources this run recorded.
- resourceStatsScanRunResourceStats!The run's resources split by whether a stack already manages them.
- noteFree-form text describing the run outcome, e.g. why it failed or the note whoever canceled it left.
- The resources this run discovered, with a set of predicates, ordering and paging.
- Information about fields available for searching this run's resources.
- stateChangedAtStateChangedAt is the unix timestamp (in seconds) at which the run entered its current state. For a terminal state, that is when the run finished.
- createdAtCreatedAt is the unix timestamp (in seconds) at which the run was queued.
- durationHow long the worker has had the run, in seconds. Counted from when the worker reported picking it up until the run finished, or until now if it hasn't. Zero before the worker reports.