Get /policy/endpoint-compliance/scan
Description
Returns all Scan Result records which match the supplied filter.
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 |
---|---|---|
filter | Optional | Array |
start | Optional | Integer |
count | Optional | Integer |
sortKey | Optional | String |
sortDir | Optional | String |
Sample Request
Request URL |
GET https://10.106.94.152:8443/api/v2/policy/endpoint-compliance/scan |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Sample Response
{
"status": "string",
"errorMessage": "string",
"results": [
{
"lastModifiedBy": "string",
"lastModifiedDate": "2024-03-11T19:42:32.695Z",
"lastChangeSummary": "string",
"name": "string",
"guid": 0,
"globalModifiedDate": "2024-03-11T19:42:32.695Z",
"scriptType": "string",
"entityType": "string",
"groupID": 0,
"patchURL": "string",
"id": 0,
"state": "string",
"portGroupName": "string",
"deviceGroupName": "string",
"patchInformation": "string",
"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,
"allAgentUUIDs": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
],
"filtered": 0,
"total": 0
}