Skip to main content
farhanahmed
Staff
Staff
February 23, 2026

Technical Tip: List all Reports with notifications enabled

  • February 23, 2026
  • 0 replies
  • 93 views
Description This article describes how to list all FortiAnalyzer Reports with notifications enabled by using the API.
Scope FortiAnalyzer, Postman.
Solution
  1. Log in to FortiAnalyzer with the CSRF method: Technical Tip: How to log in to FortiManager/FortiAnalyzer using API with CSRF cookies.
  • By default, the API user logs into the 'root' ADOM to fetch information from other ADOMs. Switching the ADOM is required.
  • Send the POST request to the URL 'https://{{host}}/cgi-bin/module/flatui_proxy' to list all ADOMs. It shows the ADOM OID which is used to switch ADOM:

 

{     "url": "/gui/switch/adoms/list",     "method": "get",     "params": {} }​

Example output:

 

adom_oid.png

 

  •  To switch the ADOM, send a POST request to the URL 'https://{{host}}/cgi-bin/module/flatui_proxy' and body:

 

{     "url": "/gui/session/adom",     "method": "change",     "params": {         "oid": {{OID}}     } }​

  1. Run a 'GET' request to the URL 'https://{{host}}/p/report/layout/tree/get/' with an empty body to list all reports in the ADOM.
  • Use a Postman Script to obtain a list of reports with 'enable-notification':true.

 

report_with_notification.png

 

  • A Postman Collection can be forked from ADOM Report Notification Scanner.
  • Use the 'Runner' to run the collection. It lists the ADOMs, gets the OIDs, goes to each ADOM then get the reports with notification enabled.
  • Once the Runner is complete, run the request #5 again then go to the 'Visualize' tab to see the results.

 

all_reports_with_notification.png

 

Related documents: