POST /scanner/scanprofiles
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 hosts to scan e.g. {'name':'New Scan Profile', 'hosts':['10.100.85.135']}
MIME Type |
---|
text/plain |
Parameter | Data Type | MIME Type | Description | Sample |
---|---|---|---|---|
scanProfile |
Object |
application/json |
null |
{ "description": "String", "hosts": [ "String" ], "name": "String" } |
HTTP Response Code | Unique Code | Description |
---|---|---|
200 |
The scan has been successfully created |
|
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