Skip to main content
farhanahmed
Staff
Staff
June 20, 2025

Technical Tip: Fetch Asset Identity Center information using FortiManager JSON API

  • June 20, 2025
  • 0 replies
  • 424 views
Description This article describes how to fetch the Asset Identity Center information using FortiManager JSON API.
Scope FortiManager, FortiGate, JSON API.
Solution

On FortiManager GUI go under Device Manager -> Monitors -> Asset Identity Center:

 

asset.png

 

Asset Identity Center information can be fetched using the query below, multiple FortiGates can be added to this query under 'target':

 

{
    "method": "exec",
    "params": [
        {
            "url": "sys/proxy/json",
            "data": {
                "target": [
                    "adom/root/device/{{DEVICE_1_NAME}}",
                    "adom/root/device/{{DEVICE_2_NAME}}"
                ],
                "action": "get",
                "resource": "/api/v2/monitor/user/device/query?query_type=unified_latest"
            }
        }
    ],
    "id": "1",
    "verbose": 1
}


Sample output:

 

asset_id_center.png

 

Note: 

FortiManager uses a proxy request to fetch the asset information from the FortiGates.

 

Related documents:

Asset Identity Center
Technical Tip: Using FortiManager API
Fortinet Development Network (FNDN) - FortiManager

Technical Tip: How to run a proxy API call from FortiManager to a managed FortiGate

Technical Tip: Moving and Cloning policy package to different folders via the JSON API

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT