/wasScan
Methods
Gets the list of WAS Scans.
NOTE: Although a Scan's Schedule 'dependentID' is stored as the schedule ID of the object a scan is dependent upon in the database, it is sent from and returned to the user as the ID of the actual scan object.
Fields Parameter
Request Parameters
None
Expand Parameters
credentials
Filter Parameters
usable - The response will be an object containing an array of usable WAS Scans. By default, both usable and manageable objects are returned.
manageable - The response will be an object containing all manageable WAS Scans.. By default, both usable and manageable objects are returned.
Example Response
Adds a WAS Scan, depending on access and permissions.
NOTE #1: A Blackout Window must not be in effect
NOTE #2: Setting schedule type to "template" means that the scan will not run on a schedule.
NOTE #3: If the field schedule frequency is "dependent", the field type cannot be "template"
NOTE #4: Although a Scan's Schedule 'dependentID' is stored as the schedule ID of the object a scan is dependent upon in the database, it is sent from and returned to the user as the ID of the actual scan object.
Request Parameters
Example Response
/wasScan/{id}
/wasScan/{uuid}
Methods
Gets the WAS Scan associated with {id} or {uuid}.
NOTE: Although a Scan's Schedule 'dependentID' is stored as the schedule ID of the object a scan is dependent upon in the database, it is sent from and returned to the user as the ID of the actual scan object.
Fields Parameter
Request Parameters
None
Expand Parameters
credentials
Example Response
Edits the WAS Scan associated with {id} or {uuid}, changing only the passed in fields.
NOTE: A WAS Scan's 'type' parameter cannot be changed.
Request Parameters
(All fields are optional)
See /wasScan::POST for parameters.
Example Response
See /wasScan/{id}::GETDeletes the WAS Scan associated with {id} or {uuid}, depending on access and permissions.
Request Parameters
None
Example Response
/wasScan/{id}/copy
/wasScan/{uuid}/copy
Methods
Copies the WAS Scan associated with {id} or {uuid}, depending on access and permissions.
Request Parameters
Example Response
/wasScan/{id}/launch
/wasScan/{uuid}/launch
Methods
Launches the WAS Scan associated with {id} or {uuid}.
Request Parameters
NOTE: "diagnosticTarget" and "diagnosticPassword" are both optional, but must be provided together if present.