Using a CSV to add entries to L3 Firewall in a group policy

TL_Arwen
Getting noticed

Using a CSV to add entries to L3 Firewall in a group policy

I am trying to make my life a hell of a lot easier by using API to add entries to a group policy I created for inter-VLAN traffic. I want to use runner in postman to utilize a CSV that I am creating to add all of these entries. I got some of the basic stuff in there like ogranizationId, networkId, my key, shard, & groupPolicyId. The part I am not too sure on is what the headers are for the L3 part in the group policy. Any ideas?

2 REPLIES 2
PhilipDAth
Kind of a big deal
Kind of a big deal

I don't know the answer - but I have a script that does a lot of what you want.  It acts on the main firewall rules - so you would need to modify it to act on a group policy instead.

 

https://www.ifm.net.nz/cookbooks/mfw.html 

 

This is another script that builds group policy firewall rules from a wireshark capture - but you could modify it to use CSV instead.

 

https://www.ifm.net.nz/cookbooks/meraki-sas.html 

Update: I was able to get a 200 ok response. but the settings do not actually import. Below I get a message saying This request does not have any tests.

Get notified when there are additional replies to this discussion.