singleRepoScan
Trigger a scan for specific repositories.
Examples
mutation SingleRepoScan($singleRepoScanInput: SingleRepoScanInput) {
singleRepoScan(singleRepoScanInput: $singleRepoScanInput) {
scanID
isFullScan
isContainerFullScan
isSingleRepoScan
}
}
Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"singleRepoScanInput": {
"applications": [
{
"appId": "30966426",
"appName": "some-repo",
"connectorId": "2",
"credentialsId": "example"
}
]
}
}
Arguments
You can use the following argument(s) to customize your singleRepoScan
mutation.
Fields
Return type: ScanResponse
You can use the following field(s) to specify what information your singleRepoScan
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
Last updated