Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Post /logging/event-types/thresholds

Post /logging/event-types/thresholds

Description

Sets the thresholds for generating system events.

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/host/logging/event-types/thresholds

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"masterProcessThreadCountWarning": "string",

"nessusProcessMemoryFreeCritical": "string",

"nessusProcessThreadCountCritical": "string",

"nessusProcessThreadCountWarning": "string",

"masterProcessMemoryFreeWarning": "string",

"masterProcessMemoryFreeCritical": "string",

"nessusProcessMemoryFreeWarning": "string",

"masterProcessThreadCountCritical": "string",

"concurrentLicenseLimitWarning": "string",

"concurrentLicenseLimitCritical": "string",

"diskFreeWarning": "string",

"diskFreeCritical": "string",

"memoryFreeWarning": "string",

"memoryFreeCritical": "string",

"networkTopologySizeWarning": "string",

"networkTopologySizeCritical": "string"

}

Sample Response

{

"status": "string",

"errorMessage": "string"

}

Post /logging/event-types/thresholds

Post /logging/event-types/thresholds

Description

Sets the thresholds for generating system events.

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/host/logging/event-types/thresholds

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"masterProcessThreadCountWarning": "string",

"nessusProcessMemoryFreeCritical": "string",

"nessusProcessThreadCountCritical": "string",

"nessusProcessThreadCountWarning": "string",

"masterProcessMemoryFreeWarning": "string",

"masterProcessMemoryFreeCritical": "string",

"nessusProcessMemoryFreeWarning": "string",

"masterProcessThreadCountCritical": "string",

"concurrentLicenseLimitWarning": "string",

"concurrentLicenseLimitCritical": "string",

"diskFreeWarning": "string",

"diskFreeCritical": "string",

"memoryFreeWarning": "string",

"memoryFreeCritical": "string",

"networkTopologySizeWarning": "string",

"networkTopologySizeCritical": "string"

}

Sample Response

{

"status": "string",

"errorMessage": "string"

}