Background:
We are trying some automation to create the Firewall L3 rules using the Meraki MX API calls.
Since the API overwrite the existing rules (except the Default rule), we are following the below approach.
- we need to fetch the existing rules using Get Network Appliance Firewall L3 Firewall Rules API call
- Combine the existing rules with new rule (which we need to add).
- Call Update Network Appliance Firewall L3 Firewall Rules API call and pass the combined list.
This is perfectly working for IP/CIDR/FQDN entries in the source and destination fields. But when we fetch rules with object/object groups in the source/destination field, we are not able to pass the rules back to API.
API source/destination field only supports: Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
1. Do we have any workaround or solution to pass the objects/object groups in the source/destination field?
Or
2. Do we have any alternative method to append the rule without overwriting existing rules?
Thanks in advance.