Post /policy/endpoint-compliance/scan/{id}
Description
Updates an existing 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/scan/3 |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
{ "lastModifiedBy": "string", "lastModifiedDate": "2024-03-11T22:36:42.303Z", "lastChangeSummary": "string", "name": "string", "guid": 0, "globalModifiedDate": "2024-03-11T22:36:42.303Z", "scriptType": "string", "entityType": "string", "groupID": 0, "linkUp": true, "patchURL": "string", "id": 0, "state": "string", "portGroupName": "string", "deviceGroupName": "string", "patchInformation": "string", "defaultPolicy": true, "registrationPolicy": true, "remediationPolicy": true, "agentPolicy": true, "vpnPolicy": true, "renewIP": true, "scanRogue": true, "registerFailedRogue": true, "groupName": "string", "bypassedOperatingSystems": [ {} ], "persistenAgentRequired": [ {} ], "scanOnConnect": true, "label": "string", "auditOnly": true, "elapsedNumberOfDays": 0, "jailbreakThreshold": 0, "rootThreshold": 0, "auditObjectName": "string", "auditObjectType": { "auditTableName": "string", "mysqlTableName": "string", "idnameQuery": "string" }, "modifyAuditSummary": "string", "addAuditSummary": "string", "directoryAttrVal": "string", "policyHash": 0, "timeToWait": 0, "securityElement": 0, "allAgentUUIDs": [ "3fa85f64-5717-4562-b3fc-2c963f66afa6" ], "epcmodifyAuditSummary": true, "otherModifyAuditSummary": true } |
Sample Response
{
"status": "string",
"errorMessage": "string",
"results": []
}