<?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 API I/O in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/155940#M7081</link>
    <description>&lt;P&gt;I'm looking for a way to clone an object group from one R80 SMS to another with minimal effort, and no access to a proper shell. In this environment, I don't have access to another system I could run jq or python or any other code for that matter.&lt;/P&gt;&lt;P&gt;Ideally, I would&amp;nbsp;&lt;EM&gt;show group name &amp;lt;object&amp;gt;&lt;/EM&gt; in the "Command Line" version of the API published in SmartConsole on the source manager, take the output and throw it in the same place on the target manager, with some minor edits to avoid duplicates.&lt;/P&gt;&lt;P&gt;Reality is, unfortunately, far from my imagination. I haven't found a simple way to do this with any output produced by the API without drastically transforming it and building entirely new calls in Postman, because the Output != Input.&lt;/P&gt;&lt;P&gt;There must be a better way?&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2022 06:47:00 GMT</pubDate>
    <dc:creator>cosmos</dc:creator>
    <dc:date>2022-08-30T06:47:00Z</dc:date>
    <item>
      <title>API I/O</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/155940#M7081</link>
      <description>&lt;P&gt;I'm looking for a way to clone an object group from one R80 SMS to another with minimal effort, and no access to a proper shell. In this environment, I don't have access to another system I could run jq or python or any other code for that matter.&lt;/P&gt;&lt;P&gt;Ideally, I would&amp;nbsp;&lt;EM&gt;show group name &amp;lt;object&amp;gt;&lt;/EM&gt; in the "Command Line" version of the API published in SmartConsole on the source manager, take the output and throw it in the same place on the target manager, with some minor edits to avoid duplicates.&lt;/P&gt;&lt;P&gt;Reality is, unfortunately, far from my imagination. I haven't found a simple way to do this with any output produced by the API without drastically transforming it and building entirely new calls in Postman, because the Output != Input.&lt;/P&gt;&lt;P&gt;There must be a better way?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 06:47:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/155940#M7081</guid>
      <dc:creator>cosmos</dc:creator>
      <dc:date>2022-08-30T06:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: API I/O</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/155943#M7082</link>
      <description>&lt;P&gt;Run a very simple script when output is saved to a file, and then target domain API calls just read it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 07:10:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/155943#M7082</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-08-30T07:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: API I/O</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/156033#M7083</link>
      <description>&lt;P&gt;Hi Val&lt;/P&gt;&lt;P&gt;Not sure if I made it clear, there is&amp;nbsp;&lt;SPAN&gt;no access to a proper shell or other system to run jq, python or any other code. Like a well architected, secure environment, the tools that access the controls are locked down and don't have the ability to share clipboards or exfil data for external manipulation, or the ability to run scripts locally (e.g. powershell).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If one could export the contents of a group from the UI it could be imported on the target in SmartConsole OR the API published in the console. We can export the results of a search in Object Explorer, not the contents of a group.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Manually copying the data was the path of least resistance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 01:08:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/156033#M7083</guid>
      <dc:creator>cosmos</dc:creator>
      <dc:date>2022-08-31T01:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: API I/O</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/156044#M7084</link>
      <description>&lt;P&gt;You lost me completely here. You still should be able to run scripts on the MDS itself, in the expert mode.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 06:40:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/156044#M7084</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-08-31T06:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: API I/O</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/156129#M7085</link>
      <description>&lt;P&gt;Principle of least privilege. Especially true for contractors, who must often jump through flaming loops of fire to gain access to an elevated shell like bash on an MDS, by sanctioned means anyway &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was looking for a quick way to get the job done with the tools I had, which are often limited. Since the API is exposed through SmartConsole CLI, it would be great if the output could be readily transposed between systems without running additional code to transform it into a useable format.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 22:53:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/156129#M7085</guid>
      <dc:creator>cosmos</dc:creator>
      <dc:date>2022-08-31T22:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: API I/O</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/156148#M7086</link>
      <description>&lt;P&gt;I understand the notion, but I still do not understand why you are trying to achieve the task the wrong way. Here are some questions:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Do you have admin rights with the SmartConsole?&lt;/LI&gt;
&lt;LI&gt;Do you have admin rights on the laptop where SC is installed?&lt;/LI&gt;
&lt;LI&gt;Is that laptop defined as API client?&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 01 Sep 2022 07:23:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/156148#M7086</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-09-01T07:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: API I/O</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/156245#M7087</link>
      <description>&lt;P&gt;To be clear: what you're asking for isn't necessarily a feature from the API, but rather an implementation of a tool that uses the API (namely the API CLI in SmartConsole).&lt;BR /&gt;That said, I am aware that there are some instances where you cannot take the API-level output and re-import it without modifications.&lt;/P&gt;
&lt;P&gt;I'm guessing what you want is an RFE and&amp;nbsp;would encourage you to reach out to your local Check Point office with the precise requirements.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 16:16:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-I-O/m-p/156245#M7087</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-09-01T16:16:27Z</dc:date>
    </item>
  </channel>
</rss>

