- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apply Policy Object/Groups to a L3 firewall rule using API
I am trying to figure out a way to apply a particular Policy Object/Groups to an L3 firewall rule using API. I can create an L3 firewall rule using CIDR/FQDN etc, but I am unable to map the firewall rule to a Policy Object using API.
Any leads will be appreciated.
Solved! Go to solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have found the answer myself. For attaching the Policy Object & Groups we should use the below format in the API call.
Policy Object:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have found the answer myself. For attaching the Policy Object & Groups we should use the below format in the API call.
Policy Object:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you give an example on how to do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sure, please find below example for both Policy Object and Groups tagging a particular firewall rule.
Policy Object tagging to a firewall rule:
Policy Groups tagging to a firewall rule:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I dont know somehow my response to your query is getting deleted automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for that, I'll play a bit with it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Off topic:I still wish we could disable/enable rules for testing purpose instead of deleting / re-creating them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, absolutely true. But there is no feature yet and deleting a particular firewall rule using API is also not there right now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
