Skip to main content
singhl
Staff
Staff
June 26, 2026

Technical Tip: Export vulnerability status of devices managed by FortiManager

  • June 26, 2026
  • 0 replies
  • 27 views

Description


This article describes how to export a list of vulnerabilities for devices managed in FortiManager.


Scope


FortiManager v7.6 and above.


Solution


The FortiManager GUI shows the list of vulnerable devices, as shown in the image below.

7d46ebd0.png


However, there is no option to export this chart from the GUI. There are two ways to export the list of vulnerabilities:

  1. In text format using the following CLI command, where 'root' is the name of the ADOM:

diagnose dvm psirt device root


  1. Using postman to send an API request and exporting the response in a table format:

  • API Request to fetch data from FortiManager (here, 'root' is the name of the ADOM):


{
  "method": "get",
  "params": [
    {
      "url":"pm/config/adom/root/_psirt/data/",
      "group-type":0
    }
  ],
  "session": "{{session}}"
}


  • To export the response in a table format:


072d2461.png


  1. Add a 'Post-response' script under the 'Scripts' tab of postman. Find the API request with the script here - FMG_API_PSIRT.

  2. Run the request and check response under the 'Visualization' tab.

  3. Select the 'Get Report HTML to Save' button and then 'Select All Text'. This should copy the text automatically.

  4. If auto-copy did not work, copy the highlighted text manually.

  5. Paste it into a new text file and save it as an '.html' file. For example, psirt_report.html.

  • Example of the exported report as a .html file:


3b4875a2.png