POST /scanner/profiles/create DEPRECATED
Initiates a request to create a new scanProfile. The request takes one parameter - createScanRequest, which is just a POJO. To create the scan, you will need to build up a JSON object that contains the Scan Profile name and ips to scan e.g. {'name':'New Scan Profile', 'ips':['10.100.85.135']} Note: Only IP addresses and ranges are accepted. CIDR ranges are not supported.
MIME Type |
---|
text/plain |
Parameter | Data Type | MIME Type | Description | Sample |
---|---|---|---|---|
scanProfile |
JSON |
application/json |
JSON formatted string containing scan configuration options, e.g.
|
null |
HTTP Response Code | Unique Code | Description |
---|---|---|
200 |
The scan has been successfully created |
|
419 |
9101 |
Occurs when a parameter is missing or invalid |
500 |
1030 |
Occurs when an attempt is made to create a scan when certain conditions are not met, or when too many scan requests have been made |
Response Description
An indicator of whether the scan has been created successfully or not.
Response Sample
String