Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Get /policy/security-event-summary/statistics

Get /policy/security-event-summary/statistics

Description

Retrieves overall statistics about Security Events, Security Alarms, and the associated Hosts.

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

startDate Optional Integer
endDate Optional Integer

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/policy/security-event-summary/statistics

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "success",

"errorMessage": null,

"result": {

"status": "success",

"errorMessage": null,

"startDate": "1969-12-31",

"endDate": "1969-12-31",

"totalEventsRecorded": 0,

"totalAlarms": 0,

"hostsGeneratingAlarms": 0,

"totalEventsReceived": 0,

"totalEventsDiscarded": 0,

"totalHostsIsolated": 0,

"totalHostsRemediated": 0,

"totalKnownHosts": 0,

"totalUnknownHosts": 0,

"eventsUsedInAlarms": 0,

"alarmsWithActionNotTaken": 0,

"alarmsWithActionTaken": 0,

"alarmsWithActionTakenAndUndone": 0,

"success": false,

"error": null

}

}

Get /policy/security-event-summary/statistics

Get /policy/security-event-summary/statistics

Description

Retrieves overall statistics about Security Events, Security Alarms, and the associated Hosts.

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

startDate Optional Integer
endDate Optional Integer

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/policy/security-event-summary/statistics

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "success",

"errorMessage": null,

"result": {

"status": "success",

"errorMessage": null,

"startDate": "1969-12-31",

"endDate": "1969-12-31",

"totalEventsRecorded": 0,

"totalAlarms": 0,

"hostsGeneratingAlarms": 0,

"totalEventsReceived": 0,

"totalEventsDiscarded": 0,

"totalHostsIsolated": 0,

"totalHostsRemediated": 0,

"totalKnownHosts": 0,

"totalUnknownHosts": 0,

"eventsUsedInAlarms": 0,

"alarmsWithActionNotTaken": 0,

"alarmsWithActionTaken": 0,

"alarmsWithActionTakenAndUndone": 0,

"success": false,

"error": null

}

}