AsBuiltReport / AsBuiltReport.Fortinet.FortiGate

Repository for AsBuiltReport Fortinet FortiGate module
MIT License
38 stars 14 forks source link

[BUG] No policy report generate #74

Closed rhumbert54 closed 5 months ago

rhumbert54 commented 5 months ago

Bug description

Hi,

When we generate documentation for VDOM firewall, the policy chapter is empty.

Chapter 1.5.5 is empty, 1.5.4 is ok.

I tried on two firewalls (with vdoms) and the issue is the same. If i generate one on normal firewall (without vdom), it's ok.

Could you take a look please ?

Best regards Renaud HUMBERT

Command-line input

-

Steps to reproduce

vdom firewall

Expected behaviour

-

Screenshots

image image image

Operating System

2022 server

PowerShell Version

$PSVersionTable

Name Value


PSVersion 5.1.20348.2400 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.20348.2400 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1

PowerShell Modules

Modules : Script 1.4.0 AsBuiltReport.Core Script 0.3.0 AsBuiltReport.Fortinet.FortiGate Script 0.8.1 PowerFGT Script 0.10.0 PScribo

Additional Context

No response

Before submitting

alagoutte commented 5 months ago

Hi @rhumbert54

Can you check you have a PolicyLayout Settings on AsBuiltReport.Fortinet.FortiGate.json ? (new feature of 0.3.0)

rhumbert54 commented 5 months ago

Yes, you're right.

I used always the same .json file that i edit for. So this options wasn't in my file.

I tried to add it and generate a new vdom report and it works.

My bad, Sorry about this mistake.

I update my documentation.

Best regards

alagoutte commented 5 months ago

Yes, you're right.

I used always the same .json file that i edit for. So this options wasn't in my file.

I tried to add it and generate a new vdom report and it works.

My bad, Sorry about this mistake.

I update my documentation.

Best regards

de rien :)