Post /policy/endpoint-compliance/scan/{id}/details
Description
Sets the selected tests and monitors for the Endpoint Compliance Scan.
Request Parameter
Id, the Scan Result 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 |
|
|
Sample Request
Request URL |
POST https://10.106.94.152:8443/api/v2/policy/endpoint-compliance/3/scan/details |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
{ "osDetails": { "additionalProp1": { "name": "string", "families": [ { "name": "string", "preferredProduct": "string", "selProducts": [ { "name": "string", "customSettings": "string" } ], "lOp": "string" } ], "monitors": { "additionalProp1": 0, "additionalProp2": 0, "additionalProp3": 0 }, "scans": [ { "type": "string", "scans": [ "string" ] } ] }, "additionalProp2": { "name": "string", "families": [ { "name": "string", "preferredProduct": "string", "selProducts": [ { "name": "string", "customSettings": "string" } ], "lOp": "string" } ], "monitors": { "additionalProp1": 0, "additionalProp2": 0, "additionalProp3": 0 }, "scans": [ { "type": "string", "scans": [ "string" ] } ] }, "additionalProp3": { "name": "string", "families": [ { "name": "string", "preferredProduct": "string", "selProducts": [ { "name": "string", "customSettings": "string" } ], "lOp": "string" } ], "monitors": { "additionalProp1": 0, "additionalProp2": 0, "additionalProp3": 0 }, "scans": [ { "type": "string", "scans": [ "string" ] } ] } } } |
Sample Response
{
"status": "string",
"errorMessage": "string"
}