<?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: MDS Install Multiple Policy via REST API in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12388#M879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will it automatically queue up the policy installs like the option in the GUI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2018 16:24:42 GMT</pubDate>
    <dc:creator>Burton_Peake</dc:creator>
    <dc:date>2018-07-23T16:24:42Z</dc:date>
    <item>
      <title>MDS Install Multiple Policy via REST API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12386#M877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the MDS GUI in R80.10, you can right click a domain and select "Install Policy" and install multiple policies. Is there a way to do this via REST API?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 15:55:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12386#M877</guid>
      <dc:creator>Burton_Peake</dc:creator>
      <dc:date>2018-07-23T15:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: MDS Install Multiple Policy via REST API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12387#M878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is an "install-policy" action via the API, yes.&lt;/P&gt;&lt;P&gt;See the link to it here:&amp;nbsp;&lt;A class="link-titled" href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/install-policy~v1.2%20" title="https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/install-policy~v1.2%20"&gt;Check Point - Management API reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 16:21:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12387#M878</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-07-23T16:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: MDS Install Multiple Policy via REST API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12388#M879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will it automatically queue up the policy installs like the option in the GUI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 16:24:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12388#M879</guid>
      <dc:creator>Burton_Peake</dc:creator>
      <dc:date>2018-07-23T16:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: MDS Install Multiple Policy via REST API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12389#M880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should work exactly the same way as it works in the GUI.&lt;/P&gt;&lt;P&gt;Specifically, the API call (assuming it is valid) will return a task-id that you monitor for results using the show task API call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 16:32:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12389#M880</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-07-23T16:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: MDS Install Multiple Policy via REST API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12390#M881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can install it in the same way...however it will do what you tell it to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you tell it to install a policy and don't give it installation targets, it will default to how that policy is configured in regards to installation targets.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario:&amp;nbsp; Provider-1 Domain with 3 clusters and a separate policy for each cluster.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Policy-A is configured with installation targets of Cluster-A&lt;/P&gt;&lt;P&gt;Policy-B is configured with installation targets of Cluster-B&lt;/P&gt;&lt;P&gt;Policy-C was just built and is for Cluster-C however it is not completely configured and has a Any for installation targets.&lt;/P&gt;&lt;P&gt;In fact, Cluster-C hasn't even been built yet, an Engineer is just working on the policy to get it ready.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manually with Smart Console if you attempt to install Policy-C on Cluster-A or Cluster-B it will pop up a warning saying are you sure?&amp;nbsp; The policy doesn't match what is installed...yada...yada&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Smart Domain Manager doing the re-assign w/ install for the whole domain would just install Policy-A and Policy-B and would ignore Policy-C.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For API, if you pull the list of packages and tell the API to install all available packages, it would Policy-A on Cluster-A.&amp;nbsp; Policy-B on Cluster-B and Policy-C would install on both Cluster-A and Cluster-B and be happy about it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lots of power, but it will also let you shoot yourself in the foot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 23:28:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12390#M881</guid>
      <dc:creator>Ivan_Moore</dc:creator>
      <dc:date>2018-07-25T23:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: MDS Install Multiple Policy via REST API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12391#M882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is correct. We plan to make a better experience for this in our next releases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 07:56:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12391#M882</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-07-26T07:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: MDS Install Multiple Policy via REST API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12392#M883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;OL&gt;&lt;LI&gt;You will have to login at the domain Level...&amp;nbsp; see&amp;nbsp;&lt;A href="https://community.checkpoint.com/thread/1066" target="_blank"&gt;https://community.checkpoint.com/thread/1066&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Make sure to specify targets in the install command. I noticed i(n the cli) that if you do not specify target gateway, the policy is pushed to all the gateways in the domain &lt;IMG src="https://community.checkpoint.com/legacyfs/online/checkpoint/emoticons/alert.png" /&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 09:02:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-Install-Multiple-Policy-via-REST-API/m-p/12392#M883</guid>
      <dc:creator>Ash_Sidhu</dc:creator>
      <dc:date>2019-06-21T09:02:26Z</dc:date>
    </item>
  </channel>
</rss>

