[COSMOS Account] Network FW Configuration is rudementary/lacking
There does not appear to be any way to set the firewall to a whitelisting settup without defining CIDRs. (only allow selected networks in the portal).
We're stuck with wide open access, when we want to lock it down and add networks and ranges as required.
IPs are also ingested via CSV string which is ok, but very basic.
The storage account SDK has a suitable solution. The NetworkRuleSet object allows you to set default action to 'Allow' or 'Deny' and the IPRule allows you to define IPs/Ranges with 'allow' or 'deny'.
I've tried creating an empty list, or even with 0.15.0 using an empty IPRule but it returns a 400 from the rest API.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kushagraThapar, @srinathnarayanan, @southpolesteve, @shurd, @ealsur, @j82w, @anfeldma-ms.
Hi @mw-root thank you for opening this issue. Recently, we added the ipRules property in 0.15.0, which should allow you to add IP addresses as an array of object.
Alternatively, if you want to deny all public access to your account until the proper firewall rules are in place, you can use the property "publicNetworkAccess". If set to "Disabled", all requests are denied by default.
I am going to close this issue as there are no further questions. If you are still encountering issues using ipRules, please open a new issue or support ticket via the Azure portal.