Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Henrik_Noerr1
Advisor

following API best practices

Hey,

I am reading the performance best practices for the API

https://sc1.checkpoint.com/documents/latest/APIs/index.html?ref=blog.meister-security.de#tips_best_p...

We are using a read only user for various data scraping. Are there any differences performance or functionally wise when using cpapi package and logging in with read_only = true - or should we consider using "continue-last-session" ?

In the cpapi code I see: 

:param read_only: [optional] Login with Read Only permissions. This parameter is not considered in case
continue-last-session is true.

Not much to go from here.

Thanks,

Henrik

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

These seem mutually exclusive to me, but could be wrong.
Can you explain this @Omer_Kleinstern ?

0 Kudos
Bob_Zimmerman
Authority
Authority

continue-last-session implies read-only is false. Read-only sessions are discarded when you log out or are disconnected. It doesn't make sense to continue a read-only session.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events