checkScanInProgress

Check if a scan is currently in progress and get its status.

Examples

query CheckScanInProgress {
  checkScanInProgress {
    scanID
    isInProgress
    scanStage
    isFullScan
    isContainerFullScan
    isSingleRepoScan
  }
}

Fields

Return type: ScanInProgressResponse

You can use the following field(s) to specify what information your checkScanInProgress query will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

scanID String

Unique identifier of the scan

isInProgress Boolean

Indicates if a scan is currently running

scanStage ScanStage

Current stage of the scan process

isFullScan Boolean

Indicates if this is a full code scan rather than an incremental scan

isContainerFullScan Boolean

Indicates if this is a full container scan rather than an incremental scan

isSingleRepoScan Boolean

Indicates if this is a scan of a single repository

Last updated