Class AscanDeprecated
- java.lang.Object
-
- org.zaproxy.clientapi.gen.deprecated.AscanDeprecated
-
- Direct Known Subclasses:
Ascan
public class AscanDeprecated extends java.lang.ObjectAPI implementation with deprecated methods, (re)moved from generated class.
-
-
Constructor Summary
Constructors Constructor Description AscanDeprecated(ClientApi api)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ApiResponseaddScanPolicy(java.lang.String scanpolicyname)Deprecated.ApiResponseaddScanPolicy(java.lang.String apikey, java.lang.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.ApiResponseclearExcludedFromScan(java.lang.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.ApiResponsedisableAllScanners(java.lang.String apikey, java.lang.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.ApiResponsedisableScanners(java.lang.String apikey, java.lang.String ids, java.lang.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.ApiResponseenableAllScanners(java.lang.String apikey, java.lang.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.ApiResponseenableScanners(java.lang.String apikey, java.lang.String ids, java.lang.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.ApiResponseexcludeFromScan(java.lang.String apikey, java.lang.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.ApiResponsepause(java.lang.String apikey, java.lang.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.ApiResponsepauseAllScans(java.lang.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.ApiResponseremoveAllScans(java.lang.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.ApiResponseremoveScan(java.lang.String apikey, java.lang.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.ApiResponseremoveScanPolicy(java.lang.String apikey, java.lang.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.ApiResponseresume(java.lang.String apikey, java.lang.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.ApiResponseresumeAllScans(java.lang.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.ApiResponsescan(java.lang.String apikey, java.lang.String url, java.lang.String recurse, java.lang.String inscopeonly, java.lang.String scanpolicyname, java.lang.String method, java.lang.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.ApiResponsescanAsUser(java.lang.String apikey, java.lang.String url, java.lang.String contextid, java.lang.String userid, java.lang.String recurse, java.lang.String scanpolicyname, java.lang.String method, java.lang.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.ApiResponsesetEnabledPolicies(java.lang.String apikey, java.lang.String ids, java.lang.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.ApiResponsesetOptionAllowAttackOnStart(java.lang.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.ApiResponsesetOptionAttackPolicy(java.lang.String apikey, java.lang.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.ApiResponsesetOptionDefaultPolicy(java.lang.String apikey, java.lang.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.ApiResponsesetOptionDelayInMs(java.lang.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.ApiResponsesetOptionHandleAntiCSRFTokens(java.lang.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.ApiResponsesetOptionHostPerScan(java.lang.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.ApiResponsesetOptionInjectPluginIdInHeader(java.lang.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.ApiResponsesetOptionMaxChartTimeInMins(java.lang.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.ApiResponsesetOptionMaxResultsToList(java.lang.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.ApiResponsesetOptionMaxScansInUI(java.lang.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.ApiResponsesetOptionPromptInAttackMode(java.lang.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.ApiResponsesetOptionPromptToClearFinishedScans(java.lang.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.ApiResponsesetOptionRescanInAttackMode(java.lang.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.ApiResponsesetOptionScanHeadersAllRequests(java.lang.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.ApiResponsesetOptionShowAdvancedDialog(java.lang.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.ApiResponsesetOptionTargetParamsEnabledRPC(java.lang.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.ApiResponsesetOptionTargetParamsInjectable(java.lang.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.ApiResponsesetOptionThreadPerHost(java.lang.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.ApiResponsesetPolicyAlertThreshold(java.lang.String apikey, java.lang.String id, java.lang.String alertthreshold, java.lang.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.ApiResponsesetPolicyAttackStrength(java.lang.String apikey, java.lang.String id, java.lang.String attackstrength, java.lang.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.ApiResponsesetScannerAlertThreshold(java.lang.String apikey, java.lang.String id, java.lang.String alertthreshold, java.lang.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.ApiResponsesetScannerAttackStrength(java.lang.String apikey, java.lang.String id, java.lang.String attackstrength, java.lang.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.ApiResponsestop(java.lang.String apikey, java.lang.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.ApiResponsestopAllScans(java.lang.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 Detail
-
AscanDeprecated
public AscanDeprecated(ClientApi api)
-
-
Method Detail
-
scan
@Deprecated public ApiResponse scan(java.lang.String apikey, java.lang.String url, java.lang.String recurse, java.lang.String inscopeonly, java.lang.String scanpolicyname, java.lang.String method, java.lang.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(java.lang.String apikey, java.lang.String url, java.lang.String contextid, java.lang.String userid, java.lang.String recurse, java.lang.String scanpolicyname, java.lang.String method, java.lang.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 public ApiResponse pause(java.lang.String apikey, java.lang.String scanid) 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
-
resume
@Deprecated public ApiResponse resume(java.lang.String apikey, java.lang.String scanid) 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
-
stop
@Deprecated public ApiResponse stop(java.lang.String apikey, java.lang.String scanid) 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
-
removeScan
@Deprecated public ApiResponse removeScan(java.lang.String apikey, java.lang.String scanid) 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
-
pauseAllScans
@Deprecated public ApiResponse pauseAllScans(java.lang.String apikey) 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
-
resumeAllScans
@Deprecated public ApiResponse resumeAllScans(java.lang.String apikey) 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
-
stopAllScans
@Deprecated public ApiResponse stopAllScans(java.lang.String apikey) 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
-
removeAllScans
@Deprecated public ApiResponse removeAllScans(java.lang.String apikey) 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
-
clearExcludedFromScan
@Deprecated public ApiResponse clearExcludedFromScan(java.lang.String apikey) 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
-
excludeFromScan
@Deprecated public ApiResponse excludeFromScan(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.String ids, java.lang.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(java.lang.String apikey, java.lang.String ids, java.lang.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(java.lang.String apikey, java.lang.String ids, java.lang.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(java.lang.String apikey, java.lang.String id, java.lang.String attackstrength, java.lang.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(java.lang.String apikey, java.lang.String id, java.lang.String alertthreshold, java.lang.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(java.lang.String apikey, java.lang.String id, java.lang.String attackstrength, java.lang.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(java.lang.String apikey, java.lang.String id, java.lang.String alertthreshold, java.lang.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(java.lang.String apikey, java.lang.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(java.lang.String scanpolicyname) throws ClientApiException
Deprecated.- Throws:
ClientApiException
-
removeScanPolicy
@Deprecated public ApiResponse removeScanPolicy(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.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(java.lang.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 public ApiResponse setOptionDelayInMs(java.lang.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
-
setOptionHandleAntiCSRFTokens
@Deprecated public ApiResponse setOptionHandleAntiCSRFTokens(java.lang.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 public ApiResponse setOptionHostPerScan(java.lang.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
-
setOptionInjectPluginIdInHeader
@Deprecated public ApiResponse setOptionInjectPluginIdInHeader(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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
-
-