Package org.zaproxy.clientapi.gen
Class Ascan
- java.lang.Object
-
- org.zaproxy.clientapi.gen.deprecated.AscanDeprecated
-
- org.zaproxy.clientapi.gen.Ascan
-
public class Ascan extends AscanDeprecated
This file was automatically generated.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ApiResponse
addExcludedParam(java.lang.String name, java.lang.String type, java.lang.String url)
Adds a new parameter excluded from the scan, using the specified name.ApiResponse
addScanPolicy(java.lang.String scanpolicyname, java.lang.String alertthreshold, java.lang.String attackstrength)
ApiResponse
alertsIds(java.lang.String scanid)
Gets the IDs of the alerts raised during the scan with the given ID.ApiResponse
attackModeQueue()
ApiResponse
clearExcludedFromScan()
Clears the regexes of URLs excluded from the active scans.ApiResponse
disableAllScanners(java.lang.String scanpolicyname)
Disables all scan rules of the scan policy with the given name, or the default if none given.ApiResponse
disableScanners(java.lang.String ids, java.lang.String scanpolicyname)
Disables the scan rules with the given IDs (comma separated list of IDs) of the scan policy with the given name, or the default if none given.ApiResponse
enableAllScanners(java.lang.String scanpolicyname)
Enables all scan rules of the scan policy with the given name, or the default if none given.ApiResponse
enableScanners(java.lang.String ids, java.lang.String scanpolicyname)
Enables the scan rules with the given IDs (comma separated list of IDs) of the scan policy with the given name, or the default if none given.ApiResponse
excludedFromScan()
Gets the regexes of URLs excluded from the active scans.ApiResponse
excludedParams()
Gets all the parameters that are excluded.ApiResponse
excludedParamTypes()
Gets all the types of excluded parameters.ApiResponse
excludeFromScan(java.lang.String regex)
Adds a regex of URLs that should be excluded from the active scans.ApiResponse
importScanPolicy(java.lang.String path)
Imports a Scan Policy using the given file system path.ApiResponse
messagesIds(java.lang.String scanid)
Gets the IDs of the messages sent during the scan with the given ID.ApiResponse
modifyExcludedParam(java.lang.String idx, java.lang.String name, java.lang.String type, java.lang.String url)
Modifies a parameter excluded from the scan.ApiResponse
optionAddQueryParam()
Tells whether or not the active scanner should add a query parameter to GET request that don't have parameters to start with.ApiResponse
optionAllowAttackOnStart()
ApiResponse
optionAttackPolicy()
ApiResponse
optionDefaultPolicy()
ApiResponse
optionDelayInMs()
Deprecated.Option no longer in effective use.ApiResponse
optionExcludedParamList()
Deprecated.ApiResponse
optionHandleAntiCSRFTokens()
ApiResponse
optionHostPerScan()
ApiResponse
optionInjectPluginIdInHeader()
Tells whether or not the active scanner should inject the HTTP request header X-ZAP-Scan-ID, with the ID of the scan rule that's sending the requests.ApiResponse
optionMaxAlertsPerRule()
Gets the maximum number of alerts that a rule can raise before being skipped.ApiResponse
optionMaxChartTimeInMins()
ApiResponse
optionMaxResultsToList()
ApiResponse
optionMaxRuleDurationInMins()
ApiResponse
optionMaxScanDurationInMins()
ApiResponse
optionMaxScansInUI()
ApiResponse
optionPromptInAttackMode()
ApiResponse
optionPromptToClearFinishedScans()
ApiResponse
optionRescanInAttackMode()
ApiResponse
optionScanHeadersAllRequests()
Tells whether or not the HTTP Headers of all requests should be scanned.ApiResponse
optionScanNullJsonValues()
Tells whether or not the active scanner should scan null JSON values.ApiResponse
optionShowAdvancedDialog()
ApiResponse
optionTargetParamsEnabledRPC()
ApiResponse
optionTargetParamsInjectable()
ApiResponse
optionThreadPerHost()
ApiResponse
pause(java.lang.String scanid)
ApiResponse
pauseAllScans()
ApiResponse
policies(java.lang.String scanpolicyname, java.lang.String policyid)
ApiResponse
removeAllScans()
ApiResponse
removeExcludedParam(java.lang.String idx)
Removes a parameter excluded from the scan, with the given index.ApiResponse
removeScan(java.lang.String scanid)
ApiResponse
removeScanPolicy(java.lang.String scanpolicyname)
ApiResponse
resume(java.lang.String scanid)
ApiResponse
resumeAllScans()
ApiResponse
scan(java.lang.String url, java.lang.String recurse, java.lang.String inscopeonly, java.lang.String scanpolicyname, java.lang.String method, java.lang.String postdata)
ApiResponse
scan(java.lang.String url, java.lang.String recurse, java.lang.String inscopeonly, java.lang.String scanpolicyname, java.lang.String method, java.lang.String postdata, java.lang.Integer contextid)
Runs the active scanner against the given URL or Context.ApiResponse
scanAsUser(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)
Active Scans from the perspective of a User, obtained using the given Context ID and User ID.ApiResponse
scanners(java.lang.String scanpolicyname, java.lang.String policyid)
Gets the scan rules, optionally, of the given scan policy or scanner policy/category ID.ApiResponse
scanPolicyNames()
ApiResponse
scanProgress(java.lang.String scanid)
ApiResponse
scans()
ApiResponse
setEnabledPolicies(java.lang.String ids, java.lang.String scanpolicyname)
ApiResponse
setOptionAddQueryParam(boolean bool)
Sets whether or not the active scanner should add a query param to GET requests which do not have parameters to start with.ApiResponse
setOptionAllowAttackOnStart(boolean bool)
ApiResponse
setOptionAttackPolicy(java.lang.String string)
ApiResponse
setOptionDefaultPolicy(java.lang.String string)
ApiResponse
setOptionDelayInMs(int i)
Deprecated.Option no longer in effective use.ApiResponse
setOptionHandleAntiCSRFTokens(boolean bool)
ApiResponse
setOptionHostPerScan(int i)
ApiResponse
setOptionInjectPluginIdInHeader(boolean bool)
Sets whether or not the active scanner should inject the HTTP request header X-ZAP-Scan-ID, with the ID of the scan rule that's sending the requests.ApiResponse
setOptionMaxAlertsPerRule(int i)
Sets the maximum number of alerts that a rule can raise before being skipped.ApiResponse
setOptionMaxChartTimeInMins(int i)
ApiResponse
setOptionMaxResultsToList(int i)
ApiResponse
setOptionMaxRuleDurationInMins(int i)
ApiResponse
setOptionMaxScanDurationInMins(int i)
ApiResponse
setOptionMaxScansInUI(int i)
ApiResponse
setOptionPromptInAttackMode(boolean bool)
ApiResponse
setOptionPromptToClearFinishedScans(boolean bool)
ApiResponse
setOptionRescanInAttackMode(boolean bool)
ApiResponse
setOptionScanHeadersAllRequests(boolean bool)
Sets whether or not the HTTP Headers of all requests should be scanned.ApiResponse
setOptionScanNullJsonValues(boolean bool)
Sets whether or not the active scanner should scan null JSON values.ApiResponse
setOptionShowAdvancedDialog(boolean bool)
ApiResponse
setOptionTargetParamsEnabledRPC(int i)
ApiResponse
setOptionTargetParamsInjectable(int i)
ApiResponse
setOptionThreadPerHost(int i)
ApiResponse
setPolicyAlertThreshold(java.lang.String id, java.lang.String alertthreshold, java.lang.String scanpolicyname)
ApiResponse
setPolicyAttackStrength(java.lang.String id, java.lang.String attackstrength, java.lang.String scanpolicyname)
ApiResponse
setScannerAlertThreshold(java.lang.String id, java.lang.String alertthreshold, java.lang.String scanpolicyname)
ApiResponse
setScannerAttackStrength(java.lang.String id, java.lang.String attackstrength, java.lang.String scanpolicyname)
ApiResponse
skipScanner(java.lang.String scanid, java.lang.String scannerid)
Skips the scan rule using the given IDs of the scan and the scan rule.ApiResponse
status(java.lang.String scanid)
ApiResponse
stop(java.lang.String scanid)
ApiResponse
stopAllScans()
ApiResponse
updateScanPolicy(java.lang.String scanpolicyname, java.lang.String alertthreshold, java.lang.String attackstrength)
-
Methods inherited from class org.zaproxy.clientapi.gen.deprecated.AscanDeprecated
addScanPolicy, addScanPolicy, clearExcludedFromScan, disableAllScanners, disableScanners, enableAllScanners, enableScanners, excludeFromScan, pause, pauseAllScans, removeAllScans, removeScan, removeScanPolicy, resume, resumeAllScans, scan, scanAsUser, setEnabledPolicies, setOptionAllowAttackOnStart, setOptionAttackPolicy, setOptionDefaultPolicy, setOptionDelayInMs, setOptionHandleAntiCSRFTokens, setOptionHostPerScan, setOptionInjectPluginIdInHeader, setOptionMaxChartTimeInMins, setOptionMaxResultsToList, setOptionMaxScansInUI, setOptionPromptInAttackMode, setOptionPromptToClearFinishedScans, setOptionRescanInAttackMode, setOptionScanHeadersAllRequests, setOptionShowAdvancedDialog, setOptionTargetParamsEnabledRPC, setOptionTargetParamsInjectable, setOptionThreadPerHost, setPolicyAlertThreshold, setPolicyAttackStrength, setScannerAlertThreshold, setScannerAttackStrength, stop, stopAllScans
-
-
-
-
Constructor Detail
-
Ascan
public Ascan(ClientApi api)
-
-
Method Detail
-
status
public ApiResponse status(java.lang.String scanid) throws ClientApiException
- Throws:
ClientApiException
-
scanProgress
public ApiResponse scanProgress(java.lang.String scanid) throws ClientApiException
- Throws:
ClientApiException
-
messagesIds
public ApiResponse messagesIds(java.lang.String scanid) throws ClientApiException
Gets the IDs of the messages sent during the scan with the given ID. A message can be obtained with 'message' core view.- Throws:
ClientApiException
-
alertsIds
public ApiResponse alertsIds(java.lang.String scanid) throws ClientApiException
Gets the IDs of the alerts raised during the scan with the given ID. An alert can be obtained with 'alert' core view.- Throws:
ClientApiException
-
scans
public ApiResponse scans() throws ClientApiException
- Throws:
ClientApiException
-
scanPolicyNames
public ApiResponse scanPolicyNames() throws ClientApiException
- Throws:
ClientApiException
-
excludedFromScan
public ApiResponse excludedFromScan() throws ClientApiException
Gets the regexes of URLs excluded from the active scans.- Throws:
ClientApiException
-
scanners
public ApiResponse scanners(java.lang.String scanpolicyname, java.lang.String policyid) throws ClientApiException
Gets the scan rules, optionally, of the given scan policy or scanner policy/category ID.- Throws:
ClientApiException
-
policies
public ApiResponse policies(java.lang.String scanpolicyname, java.lang.String policyid) throws ClientApiException
- Throws:
ClientApiException
-
attackModeQueue
public ApiResponse attackModeQueue() throws ClientApiException
- Throws:
ClientApiException
-
excludedParams
public ApiResponse excludedParams() throws ClientApiException
Gets all the parameters that are excluded. For each parameter the following are shown: the name, the URL, and the parameter type.- Throws:
ClientApiException
-
optionExcludedParamList
@Deprecated public ApiResponse optionExcludedParamList() throws ClientApiException
Deprecated.Use view excludedParams instead.- Throws:
ClientApiException
-
excludedParamTypes
public ApiResponse excludedParamTypes() throws ClientApiException
Gets all the types of excluded parameters. For each type the following are shown: the ID and the name.- Throws:
ClientApiException
-
optionAttackPolicy
public ApiResponse optionAttackPolicy() throws ClientApiException
- Throws:
ClientApiException
-
optionDefaultPolicy
public ApiResponse optionDefaultPolicy() throws ClientApiException
- Throws:
ClientApiException
-
optionDelayInMs
@Deprecated public ApiResponse optionDelayInMs() throws ClientApiException
Deprecated.Option no longer in effective use.- Throws:
ClientApiException
-
optionHandleAntiCSRFTokens
public ApiResponse optionHandleAntiCSRFTokens() throws ClientApiException
- Throws:
ClientApiException
-
optionHostPerScan
public ApiResponse optionHostPerScan() throws ClientApiException
- Throws:
ClientApiException
-
optionMaxAlertsPerRule
public ApiResponse optionMaxAlertsPerRule() throws ClientApiException
Gets the maximum number of alerts that a rule can raise before being skipped.- Throws:
ClientApiException
-
optionMaxChartTimeInMins
public ApiResponse optionMaxChartTimeInMins() throws ClientApiException
- Throws:
ClientApiException
-
optionMaxResultsToList
public ApiResponse optionMaxResultsToList() throws ClientApiException
- Throws:
ClientApiException
-
optionMaxRuleDurationInMins
public ApiResponse optionMaxRuleDurationInMins() throws ClientApiException
- Throws:
ClientApiException
-
optionMaxScanDurationInMins
public ApiResponse optionMaxScanDurationInMins() throws ClientApiException
- Throws:
ClientApiException
-
optionMaxScansInUI
public ApiResponse optionMaxScansInUI() throws ClientApiException
- Throws:
ClientApiException
-
optionTargetParamsEnabledRPC
public ApiResponse optionTargetParamsEnabledRPC() throws ClientApiException
- Throws:
ClientApiException
-
optionTargetParamsInjectable
public ApiResponse optionTargetParamsInjectable() throws ClientApiException
- Throws:
ClientApiException
-
optionThreadPerHost
public ApiResponse optionThreadPerHost() throws ClientApiException
- Throws:
ClientApiException
-
optionAddQueryParam
public ApiResponse optionAddQueryParam() throws ClientApiException
Tells whether or not the active scanner should add a query parameter to GET request that don't have parameters to start with.- Throws:
ClientApiException
-
optionAllowAttackOnStart
public ApiResponse optionAllowAttackOnStart() throws ClientApiException
- Throws:
ClientApiException
-
optionInjectPluginIdInHeader
public ApiResponse optionInjectPluginIdInHeader() throws ClientApiException
Tells whether or not the active scanner should inject the HTTP request header X-ZAP-Scan-ID, with the ID of the scan rule that's sending the requests.- Throws:
ClientApiException
-
optionPromptInAttackMode
public ApiResponse optionPromptInAttackMode() throws ClientApiException
- Throws:
ClientApiException
-
optionPromptToClearFinishedScans
public ApiResponse optionPromptToClearFinishedScans() throws ClientApiException
- Throws:
ClientApiException
-
optionRescanInAttackMode
public ApiResponse optionRescanInAttackMode() throws ClientApiException
- Throws:
ClientApiException
-
optionScanHeadersAllRequests
public ApiResponse optionScanHeadersAllRequests() throws ClientApiException
Tells whether or not the HTTP Headers of all requests should be scanned. Not just requests that send parameters, through the query or request body.- Throws:
ClientApiException
-
optionScanNullJsonValues
public ApiResponse optionScanNullJsonValues() throws ClientApiException
Tells whether or not the active scanner should scan null JSON values.- Throws:
ClientApiException
-
optionShowAdvancedDialog
public ApiResponse optionShowAdvancedDialog() throws ClientApiException
- Throws:
ClientApiException
-
scan
public ApiResponse scan(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
- Throws:
ClientApiException
-
scan
public ApiResponse scan(java.lang.String url, java.lang.String recurse, java.lang.String inscopeonly, java.lang.String scanpolicyname, java.lang.String method, java.lang.String postdata, java.lang.Integer contextid) throws ClientApiException
Runs the active scanner against the given URL or Context. Optionally, the 'recurse' parameter can be used to scan URLs under the given URL, the parameter 'inScopeOnly' can be used to constrain the scan to URLs that are in scope (ignored if a Context is specified), the parameter 'scanPolicyName' allows to specify the scan policy (if none is given it uses the default scan policy), the parameters 'method' and 'postData' allow to select a given request in conjunction with the given URL.- Throws:
ClientApiException
-
scanAsUser
public ApiResponse scanAsUser(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
Active Scans from the perspective of a User, obtained using the given Context ID and User ID. See 'scan' action for more details.- Throws:
ClientApiException
-
pause
public ApiResponse pause(java.lang.String scanid) throws ClientApiException
- Throws:
ClientApiException
-
resume
public ApiResponse resume(java.lang.String scanid) throws ClientApiException
- Throws:
ClientApiException
-
stop
public ApiResponse stop(java.lang.String scanid) throws ClientApiException
- Throws:
ClientApiException
-
removeScan
public ApiResponse removeScan(java.lang.String scanid) throws ClientApiException
- Throws:
ClientApiException
-
pauseAllScans
public ApiResponse pauseAllScans() throws ClientApiException
- Throws:
ClientApiException
-
resumeAllScans
public ApiResponse resumeAllScans() throws ClientApiException
- Throws:
ClientApiException
-
stopAllScans
public ApiResponse stopAllScans() throws ClientApiException
- Throws:
ClientApiException
-
removeAllScans
public ApiResponse removeAllScans() throws ClientApiException
- Throws:
ClientApiException
-
clearExcludedFromScan
public ApiResponse clearExcludedFromScan() throws ClientApiException
Clears the regexes of URLs excluded from the active scans.- Throws:
ClientApiException
-
excludeFromScan
public ApiResponse excludeFromScan(java.lang.String regex) throws ClientApiException
Adds a regex of URLs that should be excluded from the active scans.- Throws:
ClientApiException
-
enableAllScanners
public ApiResponse enableAllScanners(java.lang.String scanpolicyname) throws ClientApiException
Enables all scan rules of the scan policy with the given name, or the default if none given.- Throws:
ClientApiException
-
disableAllScanners
public ApiResponse disableAllScanners(java.lang.String scanpolicyname) throws ClientApiException
Disables all scan rules of the scan policy with the given name, or the default if none given.- Throws:
ClientApiException
-
enableScanners
public ApiResponse enableScanners(java.lang.String ids, java.lang.String scanpolicyname) throws ClientApiException
Enables the scan rules with the given IDs (comma separated list of IDs) of the scan policy with the given name, or the default if none given.- Throws:
ClientApiException
-
disableScanners
public ApiResponse disableScanners(java.lang.String ids, java.lang.String scanpolicyname) throws ClientApiException
Disables the scan rules with the given IDs (comma separated list of IDs) of the scan policy with the given name, or the default if none given.- Throws:
ClientApiException
-
setEnabledPolicies
public ApiResponse setEnabledPolicies(java.lang.String ids, java.lang.String scanpolicyname) throws ClientApiException
- Throws:
ClientApiException
-
setPolicyAttackStrength
public ApiResponse setPolicyAttackStrength(java.lang.String id, java.lang.String attackstrength, java.lang.String scanpolicyname) throws ClientApiException
- Throws:
ClientApiException
-
setPolicyAlertThreshold
public ApiResponse setPolicyAlertThreshold(java.lang.String id, java.lang.String alertthreshold, java.lang.String scanpolicyname) throws ClientApiException
- Throws:
ClientApiException
-
setScannerAttackStrength
public ApiResponse setScannerAttackStrength(java.lang.String id, java.lang.String attackstrength, java.lang.String scanpolicyname) throws ClientApiException
- Throws:
ClientApiException
-
setScannerAlertThreshold
public ApiResponse setScannerAlertThreshold(java.lang.String id, java.lang.String alertthreshold, java.lang.String scanpolicyname) throws ClientApiException
- Throws:
ClientApiException
-
addScanPolicy
public ApiResponse addScanPolicy(java.lang.String scanpolicyname, java.lang.String alertthreshold, java.lang.String attackstrength) throws ClientApiException
- Throws:
ClientApiException
-
removeScanPolicy
public ApiResponse removeScanPolicy(java.lang.String scanpolicyname) throws ClientApiException
- Throws:
ClientApiException
-
updateScanPolicy
public ApiResponse updateScanPolicy(java.lang.String scanpolicyname, java.lang.String alertthreshold, java.lang.String attackstrength) throws ClientApiException
- Throws:
ClientApiException
-
importScanPolicy
public ApiResponse importScanPolicy(java.lang.String path) throws ClientApiException
Imports a Scan Policy using the given file system path.- Throws:
ClientApiException
-
addExcludedParam
public ApiResponse addExcludedParam(java.lang.String name, java.lang.String type, java.lang.String url) throws ClientApiException
Adds a new parameter excluded from the scan, using the specified name. Optionally sets if the new entry applies to a specific URL (default, all URLs) and sets the ID of the type of the parameter (default, ID of any type). The type IDs can be obtained with the view excludedParamTypes.- Throws:
ClientApiException
-
modifyExcludedParam
public ApiResponse modifyExcludedParam(java.lang.String idx, java.lang.String name, java.lang.String type, java.lang.String url) throws ClientApiException
Modifies a parameter excluded from the scan. Allows to modify the name, the URL and the type of parameter. The parameter is selected with its index, which can be obtained with the view excludedParams.- Throws:
ClientApiException
-
removeExcludedParam
public ApiResponse removeExcludedParam(java.lang.String idx) throws ClientApiException
Removes a parameter excluded from the scan, with the given index. The index can be obtained with the view excludedParams.- Throws:
ClientApiException
-
skipScanner
public ApiResponse skipScanner(java.lang.String scanid, java.lang.String scannerid) throws ClientApiException
Skips the scan rule using the given IDs of the scan and the scan rule.- Throws:
ClientApiException
-
setOptionAttackPolicy
public ApiResponse setOptionAttackPolicy(java.lang.String string) throws ClientApiException
- Throws:
ClientApiException
-
setOptionDefaultPolicy
public ApiResponse setOptionDefaultPolicy(java.lang.String string) throws ClientApiException
- Throws:
ClientApiException
-
setOptionAddQueryParam
public ApiResponse setOptionAddQueryParam(boolean bool) throws ClientApiException
Sets whether or not the active scanner should add a query param to GET requests which do not have parameters to start with.- Throws:
ClientApiException
-
setOptionAllowAttackOnStart
public ApiResponse setOptionAllowAttackOnStart(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionDelayInMs
@Deprecated public ApiResponse setOptionDelayInMs(int i) throws ClientApiException
Deprecated.Option no longer in effective use.- Throws:
ClientApiException
-
setOptionHandleAntiCSRFTokens
public ApiResponse setOptionHandleAntiCSRFTokens(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionHostPerScan
public ApiResponse setOptionHostPerScan(int i) throws ClientApiException
- Throws:
ClientApiException
-
setOptionInjectPluginIdInHeader
public ApiResponse setOptionInjectPluginIdInHeader(boolean bool) throws ClientApiException
Sets whether or not the active scanner should inject the HTTP request header X-ZAP-Scan-ID, with the ID of the scan rule that's sending the requests.- Throws:
ClientApiException
-
setOptionMaxAlertsPerRule
public ApiResponse setOptionMaxAlertsPerRule(int i) throws ClientApiException
Sets the maximum number of alerts that a rule can raise before being skipped.- Throws:
ClientApiException
-
setOptionMaxChartTimeInMins
public ApiResponse setOptionMaxChartTimeInMins(int i) throws ClientApiException
- Throws:
ClientApiException
-
setOptionMaxResultsToList
public ApiResponse setOptionMaxResultsToList(int i) throws ClientApiException
- Throws:
ClientApiException
-
setOptionMaxRuleDurationInMins
public ApiResponse setOptionMaxRuleDurationInMins(int i) throws ClientApiException
- Throws:
ClientApiException
-
setOptionMaxScanDurationInMins
public ApiResponse setOptionMaxScanDurationInMins(int i) throws ClientApiException
- Throws:
ClientApiException
-
setOptionMaxScansInUI
public ApiResponse setOptionMaxScansInUI(int i) throws ClientApiException
- Throws:
ClientApiException
-
setOptionPromptInAttackMode
public ApiResponse setOptionPromptInAttackMode(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionPromptToClearFinishedScans
public ApiResponse setOptionPromptToClearFinishedScans(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionRescanInAttackMode
public ApiResponse setOptionRescanInAttackMode(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionScanHeadersAllRequests
public ApiResponse setOptionScanHeadersAllRequests(boolean bool) throws ClientApiException
Sets whether or not the HTTP Headers of all requests should be scanned. Not just requests that send parameters, through the query or request body.- Throws:
ClientApiException
-
setOptionScanNullJsonValues
public ApiResponse setOptionScanNullJsonValues(boolean bool) throws ClientApiException
Sets whether or not the active scanner should scan null JSON values.- Throws:
ClientApiException
-
setOptionShowAdvancedDialog
public ApiResponse setOptionShowAdvancedDialog(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionTargetParamsEnabledRPC
public ApiResponse setOptionTargetParamsEnabledRPC(int i) throws ClientApiException
- Throws:
ClientApiException
-
setOptionTargetParamsInjectable
public ApiResponse setOptionTargetParamsInjectable(int i) throws ClientApiException
- Throws:
ClientApiException
-
setOptionThreadPerHost
public ApiResponse setOptionThreadPerHost(int i) throws ClientApiException
- Throws:
ClientApiException
-
-