Get /settings/integration/vulnerability-scanner/{id}/scans
Description
Returns the scan names read from the connected vulnerability scanner based on the provided id.
Request Parameter
Id, the vulnerability scanner record ID.
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiNAC |
Content-Type (option 1) | application/json | String | |
Content-Type (option 2) |
application/xml |
|
|
Request Body Parameters
Name |
Required |
Type |
---|---|---|
id |
Required |
Integer |
vendor | Optional | String |
userID | Optional | String |
requestStr | Optional | String |
vulnPW | Optional | String |
Sample Request
Request URL |
GET https://10.106.94.152:8443/api/v2/settings/integration/vulnerability-scanner/2/scans |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Sample Response
{
"status": "string",
"errorMessage": "string",
"result": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"deletedScans": [
"string"
],
"scans": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
}