- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- Can "Firewall Policy Query" via R81.10 API?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can "Firewall Policy Query" via R81.10 API?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As was mentioned, you can achieve this only using some script.
But there is something which might be helpful for you. There is command "fw up_execute" available which can check if desired communication is matched (accept or drop).
Jozko Mrkvicka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not with a single API call, but pretty achievable.
Look into "show access-rulebase" and "show access-rule" calls. You can get the policy package and then filter JSON output by additional criteria, such as source, destination, action, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are there any examples for the requirement? I am not a programmer .......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For the mentioned API calls, look here: https://sc1.checkpoint.com/documents/latest/APIs/#cli/show-access-rulebase~v1.8%20
Then you will have to acquire an understanding of JSON and some scripting skills, I am afraid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As was mentioned, you can achieve this only using some script.
But there is something which might be helpful for you. There is command "fw up_execute" available which can check if desired communication is matched (accept or drop).
Jozko Mrkvicka
