Skip to main content
epinheiro
Staff
Staff
Sep 3, 2024 10:40 AM UTC

Technical Tip: Empty output from 'diagnose wad dev-vuln query' command

Description

 

This article describes that the 'diagnose wad dev-vuln query' is a command that can be used on FortiGate to query the FortiGuard database for vulnerability information.

 

Scope

 

FortiGate, Virtual Patching.

 

Solution

 

Below are some examples to query FortiOS 7.0.3, 7.2.8, 7.4.4:

 

diagnose wad dev-vuln query vendor=fortinet&version=7.0.3&product=fortios

diagnose wad dev-vuln query vendor=fortinet&version=7.2.8&product=fortios

diagnose wad dev-vuln query vendor=fortinet&version=7.4.4&product=fortios

 

After running this command multiple times to test different FortiOS versions, it is possible to notice that the output is always empty:

 

epinheiro_0-1725359233783.png

 

To be able to retrieve the outputs, additionally, it is necessary to run 'diagnose debug enable'.

 

epinheiro_1-1725359289831.png

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024