<?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: Python tool for exporting/importing a policy package or parts of it in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41108#M3866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;A _jive_internal="true" class="jive-link-profile-small jive_macro jive_macro_user" href="https://community.checkpoint.com/people/tomera5b2e7f3-09aa-32f8-96c2-f0f5bfa2988b"&gt;Tomer Sole&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Jun 2017 18:38:29 GMT</pubDate>
    <dc:creator>Moti</dc:creator>
    <dc:date>2017-06-25T18:38:29Z</dc:date>
    <item>
      <title>Re: Python tool for exporting/importing a policy package or parts of it</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41107#M3865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. &amp;nbsp;Trying to extract from R80.10, and running the scripts on macOS...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: rgba(25, 25, 25, 0.901961); font-size: 14px;"&gt;&lt;SPAN&gt;grat:import_export_package gjh$ python export_package.py -m 10.0.41.253 -u lgjh Standard&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: rgba(25, 25, 25, 0.901961); font-size: 14px;"&gt;&lt;SPAN&gt;Trying to get login credentials...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: rgba(25, 25, 25, 0.901961); font-size: 14px;"&gt;&lt;SPAN&gt;Trying to login via `mgmt_cli login -r true`.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: rgba(25, 25, 25, 0.901961); font-size: 14px;"&gt;&lt;SPAN&gt;Trying to get username and password.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: rgba(25, 25, 25, 0.901961); font-size: 14px;"&gt;&lt;SPAN&gt;Enter password:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: rgba(25, 25, 25, 0.901961); font-size: 14px;"&gt;&lt;SPAN&gt;Got the following login credentials:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: rgba(25, 25, 25, 0.901961); font-size: 14px;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Username: lgjh&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: rgba(25, 25, 25, 0.901961); font-size: 14px;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Password: ********&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: rgba(25, 25, 25, 0.901961); font-size: 14px;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Session ID: None&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: rgba(25, 25, 25, 0.901961); font-size: 14px;"&gt;&lt;SPAN&gt;Login failed: APIResponse received a response which is not valid JSON.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help please!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, yeah... how can you possibly re-import when you're supposed to do it locally on the mgmt server and the version of Python is wrong....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx-Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 13:56:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41107#M3865</guid>
      <dc:creator>Greg_Harewood</dc:creator>
      <dc:date>2017-06-23T13:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Python tool for exporting/importing a policy package or parts of it</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41108#M3866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;A _jive_internal="true" class="jive-link-profile-small jive_macro jive_macro_user" href="https://community.checkpoint.com/people/tomera5b2e7f3-09aa-32f8-96c2-f0f5bfa2988b"&gt;Tomer Sole&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 18:38:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41108#M3866</guid>
      <dc:creator>Moti</dc:creator>
      <dc:date>2017-06-25T18:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Python tool for exporting/importing a policy package or parts of it</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41109#M3867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found the problem - --port is not honoured, and neither is the related env variable. &amp;nbsp;This is relevant because we are using SmartEndpoint, and so port=4434. &amp;nbsp;I hope someone will fix the code and keep this script supported!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 13:41:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41109#M3867</guid>
      <dc:creator>Greg_Harewood</dc:creator>
      <dc:date>2017-06-26T13:41:26Z</dc:date>
    </item>
  </channel>
</rss>

