scanRunTrigger

Queue a new run of an existing Scan.

Arguments

Returns

ScanRun!
ScanRun!
Collapse
  • id
    ScanRun identifier (ULID).
  • workerUlid
    ULID of the worker that picked up this run, if any.
  • resourceCount
    How many resources this run recorded.
  • note
    Free-form text describing the run outcome, e.g. why it failed or the note whoever canceled it left.
  • stateChangedAt
    StateChangedAt is the unix timestamp (in seconds) at which the run entered its current state. For a terminal state, that is when the run finished.
  • createdAt
    CreatedAt is the unix timestamp (in seconds) at which the run was queued.
  • duration
    How 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.