scanAll
Trigger a scan of all configured connectors.
Examples
mutation ScanAll($isFullScan: Boolean, $isContainerFullScan: Boolean, $isExternalToolFullScan: Boolean, $useCustomScannerTag: Boolean) {
scanAll(isFullScan: $isFullScan, isContainerFullScan: $isContainerFullScan, isExternalToolFullScan: $isExternalToolFullScan, useCustomScannerTag: $useCustomScannerTag) {
scanID
isFullScan
isContainerFullScan
isSingleRepoScan
isDastFullScan
scannerTag
}
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"isFullScan": true,
"isContainerFullScan": true,
"isExternalToolFullScan": true,
"useCustomScannerTag": true
}curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
"query": "mutation ScanAll($isFullScan: Boolean, $isContainerFullScan: Boolean, $isExternalToolFullScan: Boolean, $useCustomScannerTag: Boolean) { scanAll(isFullScan: $isFullScan, isContainerFullScan: $isContainerFullScan, isExternalToolFullScan: $isExternalToolFullScan, useCustomScannerTag: $useCustomScannerTag) { scanID isFullScan isContainerFullScan isSingleRepoScan isDastFullScan scannerTag } }",
"variables": {
"isFullScan": true,
"isContainerFullScan": true,
"isExternalToolFullScan": true,
"useCustomScannerTag": true
}
}'Arguments
You can use the following argument(s) to customize your scanAll mutation.
isFullScan Boolean
isContainerFullScan Boolean
isExternalToolFullScan Boolean
useCustomScannerTag Boolean
Fields
Return type: ScanResponse
You can use the following field(s) to specify what information your scanAll mutation will return. Please note that some fields may have their own subfields.
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
scannerTag String
Scanner image tag
Last updated
