Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Dmitriy2
Explorer

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.

fields.png

0 Kudos
1 Reply
Bob_Zimmerman
Authority
Authority

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.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events