- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- Re: How to parse JSON output from R80 Management A...
- 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
How to parse JSON output from R80 Management API with JQ?
JQ is a lightweight and flexible command-line JSON processor. You can use it to slice and filter and map and transform structured data returned by R80 API commands and tools.
Here is a list of some useful examples from this community, showing JQ magic:
Parsing the output of "mgmt_cli"
https://community.checkpoint.com/thread/6317-finding-main-ip-of-any-managed-gateway
CLI API Example json to CSV Export for later use in batch add API commands
What is the easiest way to get the number of objects for a specific type, e.g. hosts
https://community.checkpoint.com/message/5745-re-run-script-output?commentID=5745#comment-5745
How to list all uids with specific comment in rulebase
Also, here is a complete manual for JQ -
Enjoy!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Useful tool, thanks for sharing!
