- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- API. Filtering results
Options
- 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?
×
Sign in with your Check Point UserCenter/PartnerMap account to access more great content and get a chance to win some Apple AirPods! If you don't have an account, create one now for free!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
API. Filtering results
Hello!
Is there any way to return only the required fields from api requests? For example, I need to get all the rules by the "uuid" and "hitcount" fields, or just the hostnames. We need something similar to what fortigate's "fields" method does.
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With Check Point's API, you have three "details-level" options: uid, standard, and full. Beyond that, filtering the data is the responsibility of the client application.
Tat said, there isn't a lot of benefit to limiting the fields the server returns. Showing a single object with details-level uid takes about 60% of the time of showing 500 objects with full details. If you're in an extremely traffic-constrained environment, enabling compression is a much easier way to limit the data transferred.
