The <WasScanSchedule> element includes sub-elements used to define a schedule. A reference of these elements is provided below. An asterisk * indicates a complex element.
Parameter |
Mandatory /Optional |
Data Type |
Description |
---|---|---|---|
id |
Mandatory |
integer |
The schedule ID. This element is assigned by the service and is required for a certain type of request. |
name |
Optional |
text |
The user-defined schedule name (maximum 256 characters). |
owner.id |
Optional |
integer |
ID is associated with the owner who created the schedule. |
createdDate |
Optional |
date |
The date when the schedule was created in WAS, in UTC date/time format. |
updatedDate |
Optional |
date |
The date when the schedule was created in WAS, in UTC date/time format. |
type |
Optional |
keyword |
The scheduled scan type: VULNERABILITY or DISCOVERY. |
webApp.name |
Optional |
text |
The name of the web application being scanned. |
webApp.id |
Optional |
integer |
The ID of the web application being scanned. |
webApp.tags (with operator="NONE") |
Optional |
keyword |
Tags associated with the web application being scanned. |
webApp.tags.id |
Optional |
integer |
ID of the tag applied to the web application being scanned. |
invalid |
Optional |
boolean |
Indicates the schedule is invalid. The web application to which the schedule was applied is deleted and hence the schedule is invalid. |
lastScan (with operation="NONE") |
Optional | boolean |
Indicates if the last scan was performed or not. True indicates that the last scan was performed. |
lastScan.launchedDate |
Optional | date |
Date when the last scan was launched on the web application, in UTC date/time format. |
lastScan.status |
Optional | keyword |
Scan status reported by last web application scan: SUBMITTED, RUNNING, FINISHED, TIME_LIMIT_EXCEEDED, SCAN_NOT_LAUNCHED, SCANNER_NOT_AVAILABLE, ERROR, CANCELED) |
multi (Boolean) |
Optional | boolean |
Indicates if the scheduled scan is single scan or multiple scan. |