public class HttpScanApi extends BaseHttpApi implements ScanApi
apiKey, host, httpFactory, taskListener| Constructor and Description |
|---|
HttpScanApi(TaskListener taskListener,
HttpFactory httpFactory,
String host,
char[] apiKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
doScan(UUID applicationId,
UUID versionId)
Scans an application/version with the tools in that application/version
|
void |
doScan(UUID applicationId,
UUID versionId,
UUID toolkitId)
Scans an application/version with the tools in the toolkit
|
close, convertJsonToObject, doHttpGetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic HttpScanApi(TaskListener taskListener, HttpFactory httpFactory, String host, char[] apiKey)
public void doScan(UUID applicationId, UUID versionId) throws ScanException
ScanApidoScan in interface ScanApiapplicationId - The id of the application being scannedversionId - The id of the version being scannedScanException - if something goes wrong making a scanning requestpublic void doScan(UUID applicationId, UUID versionId, UUID toolkitId) throws ScanException
ScanApidoScan in interface ScanApiapplicationId - The id of the application being scannedversionId - The id of the version being scannedtoolkitId - The id of the toolkitScanException - if something goes wrong making a scanning requestCopyright © 2016–2022 Uleska. All rights reserved.