<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: following API best practices in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/following-API-best-practices/m-p/222014#M37000</link>
    <description>&lt;P&gt;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&amp;nbsp;continue a read-only session.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2024 14:09:25 GMT</pubDate>
    <dc:creator>Bob_Zimmerman</dc:creator>
    <dc:date>2024-07-26T14:09:25Z</dc:date>
    <item>
      <title>following API best practices</title>
      <link>https://community.checkpoint.com/t5/General-Topics/following-API-best-practices/m-p/221986#M36995</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;
&lt;P&gt;I am reading the performance best practices for the API&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html?ref=blog.meister-security.de#tips_best_practices~v1.9.1%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html?ref=blog.meister-security.de#tips_best_practices~v1.9.1%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;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" ?&lt;/P&gt;
&lt;P&gt;In the &lt;A href="https://github.com/CheckPointSW/cp_mgmt_api_python_sdk/blob/master/cpapi/mgmt_api.py#L190C8-L191C57" target="_self"&gt;cpapi code&lt;/A&gt; I see:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT face="Courier New" size="3"&gt;:param read_only: [optional] Login with Read Only permissions. This parameter is not considered in case&lt;BR /&gt;continue-last-session is true.
&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;Not much to go from here.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Henrik&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 09:39:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/following-API-best-practices/m-p/221986#M36995</guid>
      <dc:creator>Henrik_Noerr1</dc:creator>
      <dc:date>2024-07-26T09:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: following API best practices</title>
      <link>https://community.checkpoint.com/t5/General-Topics/following-API-best-practices/m-p/222002#M36998</link>
      <description>&lt;P&gt;These seem mutually exclusive to me, but could be wrong.&lt;BR /&gt;Can you explain this&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 12:42:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/following-API-best-practices/m-p/222002#M36998</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-07-26T12:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: following API best practices</title>
      <link>https://community.checkpoint.com/t5/General-Topics/following-API-best-practices/m-p/222014#M37000</link>
      <description>&lt;P&gt;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&amp;nbsp;continue a read-only session.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 14:09:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/following-API-best-practices/m-p/222014#M37000</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2024-07-26T14:09:25Z</dc:date>
    </item>
  </channel>
</rss>

