Fortinet white logo
Fortinet white logo

New Features

CLI option enables JSON API event log for both request and response

CLI option enables JSON API event log for both request and response

Note

This information is also available in the FortiManager 7.6 Administration Guide:

A new CLI option enables JSON API event log for both request and response. This feature can be enabled in the CLI, and it is disabled by default.

To enable JSON API logs in the Event Log:

config system global

set jsonapi-log

all <-- logging both jsonapi request & response.

disable <-- disable jsonapi log.

request <-- logging jsonapi request.

response <-- logging jsonapi response.

  • When set to jsonapi-log is configured to request, only API requests are displayed in the Event Log.

  • When set to jsonapi-log is configured to response, only API responses are displayed in the Event Log.

  • When set to jsonapi-log is configured to all, all API requests and responses are displayed in the Event Log.

CLI option enables JSON API event log for both request and response

CLI option enables JSON API event log for both request and response

Note

This information is also available in the FortiManager 7.6 Administration Guide:

A new CLI option enables JSON API event log for both request and response. This feature can be enabled in the CLI, and it is disabled by default.

To enable JSON API logs in the Event Log:

config system global

set jsonapi-log

all <-- logging both jsonapi request & response.

disable <-- disable jsonapi log.

request <-- logging jsonapi request.

response <-- logging jsonapi response.

  • When set to jsonapi-log is configured to request, only API requests are displayed in the Event Log.

  • When set to jsonapi-log is configured to response, only API responses are displayed in the Event Log.

  • When set to jsonapi-log is configured to all, all API requests and responses are displayed in the Event Log.