show firewall policy would be a start
you can do that for any configured item;
show firewall addresss ( would show you address configs )
show sys interface ( would show you ALL interface configs )
show sys interface wan2 ( would show you just wan2 )
You can also using unix grep to look for certain or not certain strings
show firewall address | grep " MYHOSTXXY" ( would show any matchs with MYHOSTXXY )
show firewall add | grep -v " MYHOST" ( would show all hosts that DO NOT have MYHOST in the name
btw: the grep option is not supported in earlier releases of fortiOS.
What your asking is not a typical request for a fortigate . You will need to contact support to see if they have anything available or use a 3rd party firewall auditor software and that' s an expensive option.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.