<?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: API - using script on domain/cma which is on an MDS in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/27999#M1641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not 100% correct. I you right-click on the object of the CMA you find the script option and it will be finally executed on CMA. BUT it does not get the right context.&lt;BR /&gt;So I would propose to add a script repository option to the API CLi window. The primary problem is, the "Open File" button opens a folder in user context. So it is very difficult to share scripts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2019 08:35:15 GMT</pubDate>
    <dc:creator>Andreas_Lorenze</dc:creator>
    <dc:date>2019-01-29T08:35:15Z</dc:date>
    <item>
      <title>API - using script on domain/cma which is on an MDS</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/27996#M1638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute API commnand install-policy by a script stored in script repository. The domain is on an MDS.&lt;/P&gt;&lt;P&gt;I have already realized the script button in menu point only to the gateways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; Execute the command via the "comand line" tab/window. This works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Execute the the command by right-click on the CMA -&amp;gt; Scripts -&amp;gt; One time Script.... in the way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mgmt_cli install-policy (with params tested before in command line window)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It first seems to start well, but finally it runs into an error:&lt;/P&gt;&lt;P&gt;"Connection failed for "IP-Address". Make sure that the machine is up and running, and that SIC has been established"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As menitoned execution in comand line window works. As well a usual install policy by GUI.&lt;/P&gt;&lt;P&gt;What did I overlook?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2019 12:08:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/27996#M1638</guid>
      <dc:creator>Andreas_Lorenze</dc:creator>
      <dc:date>2019-01-28T12:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: API - using script on domain/cma which is on an MDS</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/27997#M1639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm pretty sure that run-script (the underlying API used in this case) does not work when an MDS/CMA is the target.&lt;/P&gt;&lt;P&gt;Have you tried other scripts by chance and do they work?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/migrated-users/2192"&gt;Amiad Stern&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 01:36:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/27997#M1639</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-01-29T01:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: API - using script on domain/cma which is on an MDS</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/27998#M1640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run script is not supported on domains / MDS. you can see in UI it is only available for objects listed in 'Gateways &amp;amp; Servers' view&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 06:45:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/27998#M1640</guid>
      <dc:creator>Amiad_Stern</dc:creator>
      <dc:date>2019-01-29T06:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: API - using script on domain/cma which is on an MDS</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/27999#M1641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not 100% correct. I you right-click on the object of the CMA you find the script option and it will be finally executed on CMA. BUT it does not get the right context.&lt;BR /&gt;So I would propose to add a script repository option to the API CLi window. The primary problem is, the "Open File" button opens a folder in user context. So it is very difficult to share scripts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 08:35:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/27999#M1641</guid>
      <dc:creator>Andreas_Lorenze</dc:creator>
      <dc:date>2019-01-29T08:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: API - using script on domain/cma which is on an MDS</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/28000#M1642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.checkpoint.com/migrated-users/68003"&gt;Andreas Lorenzen&lt;/A&gt;, I'm not sure I got to the bottom of your proposal and the issue with the open file, i would be happy to keep this conversation off-line by mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please send me exact issue and your proposal by mail to &lt;A href="mailto:amiads@checkpoint.com"&gt;amiads@checkpoint.com&lt;/A&gt;&amp;nbsp;(screenshots would be helpful)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amiad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2019 07:30:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/28000#M1642</guid>
      <dc:creator>Amiad_Stern</dc:creator>
      <dc:date>2019-02-01T07:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: API - using script on domain/cma which is on an MDS</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/28001#M1643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2019 12:52:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-using-script-on-domain-cma-which-is-on-an-MDS/m-p/28001#M1643</guid>
      <dc:creator>Andreas_Lorenze</dc:creator>
      <dc:date>2019-02-01T12:52:13Z</dc:date>
    </item>
  </channel>
</rss>

