fortinet-ansible-dev / ansible-galaxy-fortimanager-collection

GNU General Public License v3.0
16 stars 16 forks source link

Group members in module fmgr_firewall_addrgrp6 not working #41

Open edeka-spatt opened 2 years ago

edeka-spatt commented 2 years ago

Adding group members in the module fmgr_firewall_addrgrp6 does not work.
When calling the API with a list insead of a string it works. Just like in the IPv4 module fmgr_firewall_addrgrp Other IPv6 modules could also be affected (#29)

Reference looks wrong also:
member string($datasource)
Address objects contained within the group.

https://fndn.fortinet.net/index.php?/fortiapi/5-fortimanager/1080/5/pm/config/firewall/

using collection version 2.1.4 and FortiManager 6.4.7

lix-fortinet commented 2 years ago

Hi @edeka-spatt,

Thank you for raising this issue. Team is working on this issue. We will get back to you once it's resolved.

Thanks, Xing

dux-fortinet commented 1 year ago

Please reference #49 . The parameter 'member' is str type in some old versions of FortiManger. Please set bypass_validation: true if you want to treat the parameter 'member' as a list of str.