/scan
Methods
Gets the list of Scans.
NOTE #1: 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.
NOTE #2 : The Unit of param inactivityTimeout is to be interpreted in seconds.
Fields Parameter
Request Parameters
None
Expand Parameters
credentials
Filter Parameters
usable - The response will be an object containing an array of usable Scans. By default, both usable and manageable objects are returned.
manageable - The response will be an object containing all manageable Scans.. By default, both usable and manageable objects are returned.
Example Response
Adds a 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.
NOTE #5: The Unit of param inactivityTimeout is seconds. And perceived only in intervals of 3600 [1hr]. If any other intermediate values are sent then it is ceiled to next valid step. Ex: 5432 is ceiled to 7200. This is done to keep consistency in the allowed values of dropdown in Frontend. The validation error messages in response too contain Unit in hours too keep it consistent with that shown in Frontend.
Request Parameters
Example Response
/scan/{id}
/scan/{uuid}
Methods
Gets the Scan associated with {id} or {uuid}.
NOTE #1: 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.
NOTE #2 : The Unit of param inactivityTimeout is to be interpreted in seconds.
Fields Parameter
Request Parameters
None
Expand Parameters
credentials
Example Response
Edits the Scan associated with {id} or {uuid}, changing only the passed in fields.
NOTE: A Scan's 'type' parameter cannot be changed.
Request Parameters
(All fields are optional)
See /scan::POST for parameters.
Example Response
See /scan/{id}::GETDeletes the Scan associated with {id} or {uuid}, depending on access and permissions.
Request Parameters
None
Example Response
/scan/{id}/copy
/scan/{uuid}/copy
Methods
Copies the Scan associated with {id} or {uuid}, depending on access and permissions.
Request Parameters
Example Response
/scan/{id}/launch
/scan/{uuid}/launch
Methods
Launches the Scan associated with {id} or {uuid}.
Request Parameters
NOTE: "diagnosticTarget" and "diagnosticPassword" are both optional, but must be provided together if present.