triggerSingleTargetScan

Trigger a scan for a single DAST target.

Examples

mutation TriggerSingleTargetScan($triggerSingleTargetScanInput: TriggerSingleTargetScanInput!) {
  triggerSingleTargetScan(triggerSingleTargetScanInput: $triggerSingleTargetScanInput) {
    scanID
    isFullScan
    isContainerFullScan
    isSingleRepoScan
    isDastFullScan
    isDastSingleTarget
    scannerTag
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "triggerSingleTargetScanInput": {
    "targetId": "example"
  }
}

Arguments

You can use the following argument(s) to customize your triggerSingleTargetScan mutation.

Argument
Description
Supported fields

triggerSingleTargetScanInput TriggerSingleTargetScanInput! required

targetId String!

Fields

Return type: ScanResponse

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

Field
Description
Supported fields

scanID String

Unique identifier for tracking the scan progress

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

isDastFullScan Boolean

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

isDastSingleTarget Boolean

Indicates if this is a single DAST target scan

scannerTag String

Scanner image tag

Last updated