we want to add all (~1500) ipv4 aws subnets to the utm using the api. I've used the request url .../api/objects/network/network/ to add the networks, which worked fine.
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-Restd-Lock-Override: yes' \
--header 'X-Restd-Err-Ack: all' \
--header 'Authorization: Basic XXXXXXXXXXXXXXXXX' \
--data-raw '{"name":"Group_Name","members":["REF_NetNetAmazonYYY34","REF_NetNetAmazoneuXXX38"]}'
we using the aws json file https://ip-ranges.amazonaws.com/ip-ranges.json and our script must run daily because the ip ranges change.
This thread was automatically locked due to age.