scanRun

Details of a single ScanRun.

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.
  • unmanagedResourceCount
    How many of resourceCount no stack managed when the run recorded them.
  • note
    Free-form text describing the run outcome, e.g. why it failed or the note whoever canceled it left.
  • triggeredBy
    Login of whoever triggered the run, or spacelift/schedules/scan/<scan ID> when the scan's schedule did. Null for runs older than this field.
  • failuresCount
  • 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.