<?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: Web API read-only login problem in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8720#M719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I guess there is some weird bug if you have running instance of SmartConsole with same user and opened view of rulebase. Same applies if you add new interface to e.g. VSX, if you open edit window and then run command with vsx_provisioning_tool from SSH with clish, it won't work.&lt;/P&gt;&lt;P&gt;As for 16 gigs of ram. Rulebase of around 400 rules takes around 4 to 5 seconds to retrieve on machine with 16 gigs of ram. I don't know if it is problem with vRealize Orchestrator or is the nature of CP. I didn't test it with other backend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Mar 2019 09:40:17 GMT</pubDate>
    <dc:creator>Denis_Leskovar</dc:creator>
    <dc:date>2019-03-11T09:40:17Z</dc:date>
    <item>
      <title>Web API read-only login problem</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8714#M713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this weird problem. I am using vRealize orchestrator with JS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I want to login to our R80 checkpoint via script, I only get read only access, even tho I set parameter read-only to false. Here is the JSON I send&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;{"user":"&lt;SPAN style="background-color: #f6f6f6;"&gt;someRandomUsername&lt;/SPAN&gt;","password":"someRandomPassword","continue-last-session":false,"session-timeout":300,"read-only":false}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I can login and I can logout, discard, show-network. I set SID in header and it works in our test enviroment, but on production it fails. Our production environment in more or less the same and using 1.1. version of api.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I want to call show-access-rulebase it returns undefined. It is quite large but it shouldn't be a problem because my program waits for the response.&lt;/P&gt;&lt;P&gt;I have no problem and have full read-write access when I login to r80 with SmartConsole,&lt;/P&gt;&lt;P&gt;I have like zero idea what is going wrong, plz help &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:22:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8714#M713</guid>
      <dc:creator>Denis_Leskovar</dc:creator>
      <dc:date>2019-03-01T12:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Web API read-only login problem</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8715#M714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, if you're using a read-only user, you will not be able to ask for read-write mode &lt;SPAN style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"&gt;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"&gt;Even so, that parameter shouldn't be necessary unless you are a read-write user and you explicitly want read-only access.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"&gt;Second, the show-access-rulebase command is, by default, limited to 500 items.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"&gt;You can request more items, but you will get unpredictable results if you do so.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"&gt;This means you will need to make multiple show-access-rulebase calls with offset parameters in order to retrieve all the rules.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Mar 2019 02:50:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8715#M714</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-03-02T02:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Web API read-only login problem</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8716#M715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using user with read-write acces, I can use smartconsole with that user without problems.&lt;/P&gt;&lt;P&gt;I am looping through rulebase, using max limit of 500 results.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2019 07:56:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8716#M715</guid>
      <dc:creator>Denis_Leskovar</dc:creator>
      <dc:date>2019-03-04T07:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Web API read-only login problem</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8717#M716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can this bug&amp;nbsp;or feature&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; with 500 rules be fixed in the next version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a rational explanation for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Mar 2019 13:31:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8717#M716</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-03-10T13:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Web API read-only login problem</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8718#M717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The more items an API call has to return, the longer it takes for that API to return a result, the more memory required to provide it, etc.&lt;/P&gt;&lt;P&gt;The limits for the various API calls were chosen to balance those needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Mar 2019 15:50:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8718#M717</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-03-10T15:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Web API read-only login problem</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8719#M718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In times of 16 GB RAM&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Mar 2019 17:06:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8719#M718</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-03-10T17:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Web API read-only login problem</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8720#M719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I guess there is some weird bug if you have running instance of SmartConsole with same user and opened view of rulebase. Same applies if you add new interface to e.g. VSX, if you open edit window and then run command with vsx_provisioning_tool from SSH with clish, it won't work.&lt;/P&gt;&lt;P&gt;As for 16 gigs of ram. Rulebase of around 400 rules takes around 4 to 5 seconds to retrieve on machine with 16 gigs of ram. I don't know if it is problem with vRealize Orchestrator or is the nature of CP. I didn't test it with other backend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 09:40:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8720#M719</guid>
      <dc:creator>Denis_Leskovar</dc:creator>
      <dc:date>2019-03-11T09:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Web API read-only login problem</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8721#M720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please open a TAC case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 17:17:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-read-only-login-problem/m-p/8721#M720</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2019-03-11T17:17:24Z</dc:date>
    </item>
  </channel>
</rss>

