Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /policy/endpoint-compliance/scan/count

Get /policy/endpoint-compliance/scan/count

Description

Gets a count of Scan Results that match the provided 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<String>

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/policy/endpoint-compliance/scan/count

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

}

Get /policy/endpoint-compliance/scan/count

Get /policy/endpoint-compliance/scan/count

Description

Gets a count of Scan Results that match the provided 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<String>

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/policy/endpoint-compliance/scan/count

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

}