FortiPower / PowerFGT

PowerShell module to manage Fortinet (FortiGate) Firewall
Apache License 2.0
108 stars 36 forks source link

MAC address feature request! #228

Closed SogeKing9912 closed 9 months ago

SogeKing9912 commented 1 year ago

Please add feature to add mac address to Address or Address Group

alagoutte commented 1 year ago

Please add feature to add mac address to Address or Address Group

not really planned soon but patch are welcome !

You need to add new parameter (mac type string) https://github.com/FortiPower/PowerFGT/blob/master/PowerFGT/Public/cmdb/firewall/address.ps1#L58

and after add new case 'mac' https://github.com/FortiPower/PowerFGT/blob/master/PowerFGT/Public/cmdb/firewall/address.ps1#L110

You can look this PR https://github.com/FortiPower/PowerFGT/pull/191 also