Class AscanDeprecated
java.lang.Object
org.zaproxy.clientapi.gen.deprecated.AscanDeprecated
- Direct Known Subclasses:
Ascan
API implementation with deprecated methods, (re)moved from generated class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddScanPolicy(String scanpolicyname) Deprecated.addScanPolicy(String apikey, String scanpolicyname) Deprecated.clearExcludedFromScan(String apikey) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.disableAllScanners(String apikey, String scanpolicyname) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.disableScanners(String apikey, String ids, String scanpolicyname) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.enableAllScanners(String apikey, String scanpolicyname) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.enableScanners(String apikey, String ids, String scanpolicyname) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.excludeFromScan(String apikey, String regex) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.pauseAllScans(String apikey) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.removeAllScans(String apikey) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.removeScan(String apikey, String scanid) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.removeScanPolicy(String apikey, String scanpolicyname) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.resumeAllScans(String apikey) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.scan(String apikey, String url, String recurse, String inscopeonly, String scanpolicyname, String method, String postdata) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.scanAsUser(String apikey, String url, String contextid, String userid, String recurse, String scanpolicyname, String method, String postdata) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setEnabledPolicies(String apikey, String ids, String scanpolicyname) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionAllowAttackOnStart(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionAttackPolicy(String apikey, String string) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionDefaultPolicy(String apikey, String string) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionDelayInMs(String apikey, int i) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionHandleAntiCSRFTokens(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionHostPerScan(String apikey, int i) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionInjectPluginIdInHeader(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionMaxChartTimeInMins(String apikey, int i) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionMaxResultsToList(String apikey, int i) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionMaxScansInUI(String apikey, int i) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionPromptInAttackMode(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionPromptToClearFinishedScans(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionRescanInAttackMode(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionScanHeadersAllRequests(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionShowAdvancedDialog(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionTargetParamsEnabledRPC(String apikey, int i) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionTargetParamsInjectable(String apikey, int i) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionThreadPerHost(String apikey, int i) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setPolicyAlertThreshold(String apikey, String id, String alertthreshold, String scanpolicyname) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setPolicyAttackStrength(String apikey, String id, String attackstrength, String scanpolicyname) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setScannerAlertThreshold(String apikey, String id, String alertthreshold, String scanpolicyname) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setScannerAttackStrength(String apikey, String id, String attackstrength, String scanpolicyname) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.stopAllScans(String apikey) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.
-
Constructor Details
-
AscanDeprecated
-
-
Method Details
-
scan
@Deprecated public ApiResponse scan(String apikey, String url, String recurse, String inscopeonly, String scanpolicyname, String method, String postdata) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
scanAsUser
@Deprecated public ApiResponse scanAsUser(String apikey, String url, String contextid, String userid, String recurse, String scanpolicyname, String method, String postdata) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
pause
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
resume
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
stop
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
removeScan
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
pauseAllScans
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
resumeAllScans
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
stopAllScans
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
removeAllScans
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
clearExcludedFromScan
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
excludeFromScan
@Deprecated public ApiResponse excludeFromScan(String apikey, String regex) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
enableAllScanners
@Deprecated public ApiResponse enableAllScanners(String apikey, String scanpolicyname) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
disableAllScanners
@Deprecated public ApiResponse disableAllScanners(String apikey, String scanpolicyname) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
enableScanners
@Deprecated public ApiResponse enableScanners(String apikey, String ids, String scanpolicyname) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
disableScanners
@Deprecated public ApiResponse disableScanners(String apikey, String ids, String scanpolicyname) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setEnabledPolicies
@Deprecated public ApiResponse setEnabledPolicies(String apikey, String ids, String scanpolicyname) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setPolicyAttackStrength
@Deprecated public ApiResponse setPolicyAttackStrength(String apikey, String id, String attackstrength, String scanpolicyname) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setPolicyAlertThreshold
@Deprecated public ApiResponse setPolicyAlertThreshold(String apikey, String id, String alertthreshold, String scanpolicyname) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setScannerAttackStrength
@Deprecated public ApiResponse setScannerAttackStrength(String apikey, String id, String attackstrength, String scanpolicyname) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setScannerAlertThreshold
@Deprecated public ApiResponse setScannerAlertThreshold(String apikey, String id, String alertthreshold, String scanpolicyname) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
addScanPolicy
@Deprecated public ApiResponse addScanPolicy(String apikey, String scanpolicyname) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
addScanPolicy
Deprecated.- Throws:
ClientApiException
-
removeScanPolicy
@Deprecated public ApiResponse removeScanPolicy(String apikey, String scanpolicyname) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionAttackPolicy
@Deprecated public ApiResponse setOptionAttackPolicy(String apikey, String string) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionDefaultPolicy
@Deprecated public ApiResponse setOptionDefaultPolicy(String apikey, String string) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionAllowAttackOnStart
@Deprecated public ApiResponse setOptionAllowAttackOnStart(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionDelayInMs
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionHandleAntiCSRFTokens
@Deprecated public ApiResponse setOptionHandleAntiCSRFTokens(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionHostPerScan
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionInjectPluginIdInHeader
@Deprecated public ApiResponse setOptionInjectPluginIdInHeader(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionMaxChartTimeInMins
@Deprecated public ApiResponse setOptionMaxChartTimeInMins(String apikey, int i) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionMaxResultsToList
@Deprecated public ApiResponse setOptionMaxResultsToList(String apikey, int i) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionMaxScansInUI
@Deprecated public ApiResponse setOptionMaxScansInUI(String apikey, int i) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionPromptInAttackMode
@Deprecated public ApiResponse setOptionPromptInAttackMode(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionPromptToClearFinishedScans
@Deprecated public ApiResponse setOptionPromptToClearFinishedScans(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionRescanInAttackMode
@Deprecated public ApiResponse setOptionRescanInAttackMode(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionScanHeadersAllRequests
@Deprecated public ApiResponse setOptionScanHeadersAllRequests(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionShowAdvancedDialog
@Deprecated public ApiResponse setOptionShowAdvancedDialog(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionTargetParamsEnabledRPC
@Deprecated public ApiResponse setOptionTargetParamsEnabledRPC(String apikey, int i) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionTargetParamsInjectable
@Deprecated public ApiResponse setOptionTargetParamsInjectable(String apikey, int i) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionThreadPerHost
@Deprecated public ApiResponse setOptionThreadPerHost(String apikey, int i) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
ClientApiconstructors that allow to set the API key (e.g.