Class AscanDeprecated
- java.lang.Object
-
- org.zaproxy.clientapi.gen.deprecated.AscanDeprecated
-
- Direct Known Subclasses:
Ascan
public class AscanDeprecated extends java.lang.Object
API 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 ApiResponse
addScanPolicy(java.lang.String scanpolicyname)
Deprecated.ApiResponse
addScanPolicy(java.lang.String apikey, java.lang.String scanpolicyname)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
clearExcludedFromScan(java.lang.String apikey)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
disableAllScanners(java.lang.String apikey, java.lang.String scanpolicyname)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
disableScanners(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 theClientApi
constructors that allow to set the API key (e.g.ApiResponse
enableAllScanners(java.lang.String apikey, java.lang.String scanpolicyname)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
enableScanners(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 theClientApi
constructors that allow to set the API key (e.g.ApiResponse
excludeFromScan(java.lang.String apikey, java.lang.String regex)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
pause(java.lang.String apikey, java.lang.String scanid)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
pauseAllScans(java.lang.String apikey)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
removeAllScans(java.lang.String apikey)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
removeScan(java.lang.String apikey, java.lang.String scanid)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
removeScanPolicy(java.lang.String apikey, java.lang.String scanpolicyname)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
resume(java.lang.String apikey, java.lang.String scanid)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
resumeAllScans(java.lang.String apikey)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.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)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.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)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setEnabledPolicies(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 theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionAllowAttackOnStart(java.lang.String apikey, boolean bool)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionAttackPolicy(java.lang.String apikey, java.lang.String string)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionDefaultPolicy(java.lang.String apikey, java.lang.String string)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionDelayInMs(java.lang.String apikey, int i)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionHandleAntiCSRFTokens(java.lang.String apikey, boolean bool)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionHostPerScan(java.lang.String apikey, int i)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionInjectPluginIdInHeader(java.lang.String apikey, boolean bool)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionMaxChartTimeInMins(java.lang.String apikey, int i)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionMaxResultsToList(java.lang.String apikey, int i)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionMaxScansInUI(java.lang.String apikey, int i)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionPromptInAttackMode(java.lang.String apikey, boolean bool)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionPromptToClearFinishedScans(java.lang.String apikey, boolean bool)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionRescanInAttackMode(java.lang.String apikey, boolean bool)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionScanHeadersAllRequests(java.lang.String apikey, boolean bool)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionShowAdvancedDialog(java.lang.String apikey, boolean bool)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionTargetParamsEnabledRPC(java.lang.String apikey, int i)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionTargetParamsInjectable(java.lang.String apikey, int i)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setOptionThreadPerHost(java.lang.String apikey, int i)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setPolicyAlertThreshold(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 theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setPolicyAttackStrength(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 theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setScannerAlertThreshold(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 theClientApi
constructors that allow to set the API key (e.g.ApiResponse
setScannerAttackStrength(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 theClientApi
constructors that allow to set the API key (e.g.ApiResponse
stop(java.lang.String apikey, java.lang.String scanid)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
stopAllScans(java.lang.String apikey)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors that allow to set the API key (e.g.ClientApi(String, int, String)
).- Throws:
ClientApiException
-
-