API: Manage rules?
It would be great if we could at least pause/resume existing rules using the api, and ideally even create/update rules (personal use case: automation for parental control). To be honest I was a bit surprised to find out this is not available yet. Is it planned for the near future?
BTW: I guess an option to generate tokens with more granular selected permissions might make sense eventually (Read/Write/Categories)?
-
I wanted to add to this conversation in case it is still possible or if its been released and I somehow missed it. This is my #1 request for the MSP. I agree with the initial request that the most critical part would be to pause/resume existing rules via the API.
My use case is that I've got a handful of rules used in combination to control traffic on the network for my kids. What I really want to be able to do is pause/resume several rules at a time via a script so that I can automate the management of those rules and, thus, the traffic.
-
+1 on this ask from me. I’d like to integrate Firewalla rule controls to Home Assistant to help me easily enable, disable, and create more flexible timers on some rules for my kid’s devices. I don’t want to use HA to create new rules, just display the status and enable/disable existing rules. This would help my partner who does not understand networking/firewalls/etc. I’m willing to buy a license for API usage if I can use it for this. Thanks!
-
Hi @Firewalla team, I noticed a couple weeks ago that there was an update to the API examples that includes pausing a rule (using what appears to be a new /rule/ path):
GitHub - firewalla/msp-api-examples: Sample code on using Firewalla MSP API
The linked doc page gives me an Access Denied error:
https://docs.firewalla.net/api-reference/rule/#pause-a-rule
Is this something that's coming soon? I'm excited to try it out!
-
Please watch out for our emails https://firewalla.com/weekly, once we have both, we will be calling for early access :)
Please sign in to leave a comment.
Comments
30 comments