<?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: How can we install on multiple firewalls using install policy comand from API CLI in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/107261#M5461</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have about 175 SMB devices (1430 devices) in our environment that share the same policy. Every time we do a change we have to install in small batches (20 devices for example) due to limitation of installing for all devices at one time.&lt;/P&gt;&lt;P&gt;It's possible via API to do some script or configuration to get all 1430 devices from SmartConsole and then install policy in batches of 20 devices until all of them are up-to-date?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jan 2021 07:37:45 GMT</pubDate>
    <dc:creator>ByL_telecom</dc:creator>
    <dc:date>2021-01-08T07:37:45Z</dc:date>
    <item>
      <title>How can we install on multiple firewalls using install policy comand from API CLI</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/54090#M3504</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have explored the API reference posted in checkmates. It has given below command to deploy policy from API CLI to deploy on single firewall. Similarly, If we want to run policy installation on all firewalls of CMA. What is the command?&lt;/P&gt;&lt;P&gt;API Referrence:&lt;/P&gt;&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/install-policy~v1.2" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/install-policy~v1.2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Single Firewall:&lt;/P&gt;&lt;P&gt;mgmt_cli install-policy policy-package "standard" access true threat-prevention true targets.1 "corporate-gateway" --version 1.1 --format json&lt;/P&gt;&lt;P&gt;Multiple Firewall:&lt;/P&gt;&lt;P&gt;mgmt_cli install-policy policy-package "standard" access true threat-prevention true targets.1 "corporate-gateway &lt;SPAN&gt;corporate-gateway1 corporate-gateway2 &lt;/SPAN&gt;" --version 1.1 --format json&lt;/P&gt;&lt;P&gt;In double quotes, can we include multiple firewalls by giving space?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Revathi&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 10:43:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/54090#M3504</guid>
      <dc:creator>nagarevathi</dc:creator>
      <dc:date>2019-05-22T10:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can we install on multiple firewalls using install policy comand from API CLI</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/54166#M3505</link>
      <description>&lt;P&gt;No, you use multiple target parameters like so:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mgmt_cli install-policy policy-package "standard" access true threat-prevention true targets.1 "corporate-gateway" targets.2 "&lt;/SPAN&gt;&lt;SPAN&gt;corporate-gateway1" targets.3 "corporate-gateway2 &lt;/SPAN&gt;&lt;SPAN&gt;" --version 1.1 --format json&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 01:53:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/54166#M3505</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-05-23T01:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can we install on multiple firewalls using install policy comand from API CLI</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/54175#M3507</link>
      <description>Hi Admin,&lt;BR /&gt;&lt;BR /&gt;mgmt_cli install-policy policy-package "standard" access true threat-prevention true targets.1 "corporate-gateway" targets.2 "corporate-gateway1" targets.3 "corporate-gateway2 " --version 1.1 --format json&lt;BR /&gt;&lt;BR /&gt;The above command will help to deploy multiple firewalls with 1 common policy. If I want to install different policies for each gateway. How we have to do that?&lt;BR /&gt;Policy A - Gateway A&lt;BR /&gt;Policy B - Gateway B&lt;BR /&gt;Policy C - Gateway C&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Revathi&lt;BR /&gt;</description>
      <pubDate>Thu, 23 May 2019 04:05:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/54175#M3507</guid>
      <dc:creator>nagarevathi</dc:creator>
      <dc:date>2019-05-23T04:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can we install on multiple firewalls using install policy comand from API CLI</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/107261#M5461</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have about 175 SMB devices (1430 devices) in our environment that share the same policy. Every time we do a change we have to install in small batches (20 devices for example) due to limitation of installing for all devices at one time.&lt;/P&gt;&lt;P&gt;It's possible via API to do some script or configuration to get all 1430 devices from SmartConsole and then install policy in batches of 20 devices until all of them are up-to-date?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 07:37:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/107261#M5461</guid>
      <dc:creator>ByL_telecom</dc:creator>
      <dc:date>2021-01-08T07:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can we install on multiple firewalls using install policy comand from API CLI</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/107320#M5462</link>
      <description>&lt;P&gt;It’s a separate command for each gateway/policy combination.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 19:18:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/107320#M5462</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-01-08T19:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can we install on multiple firewalls using install policy comand from API CLI</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/107321#M5463</link>
      <description>&lt;P&gt;Can this be scripted? Sure.&lt;BR /&gt;Is there something Pre-built that does this? No.&lt;BR /&gt;At a high-level, you would do something like:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Query the API for the relevant gateways (maybe set a tag for each gateway with that same policy to make it easier)&lt;/LI&gt;
&lt;LI&gt;Issue a policy install for the first twenty gateways.&lt;/LI&gt;
&lt;LI&gt;Monitor for completion of the policy instal action and repeat for the next twenty gateways.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 19:21:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/107321#M5463</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-01-08T19:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can we install on multiple firewalls using install policy comand from API CLI</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/107462#M5469</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Which API query could we use to monitor the status of instalation?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found a way to get the gateways and also the API command to install the policy, but can't find how to know if the policy installation is complete or not&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 11:21:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/107462#M5469</guid>
      <dc:creator>ByL_telecom</dc:creator>
      <dc:date>2021-01-11T11:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can we install on multiple firewalls using install policy comand from API CLI</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/107463#M5470</link>
      <description>&lt;P&gt;Forget it, I've found a way, after executing "install-policy policy-package" i can parse any of "success" messages for example and the start another installation&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 11:27:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/107463#M5470</guid>
      <dc:creator>ByL_telecom</dc:creator>
      <dc:date>2021-01-11T11:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can we install on multiple firewalls using install policy comand from API CLI</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/146697#M6747</link>
      <description>&lt;P&gt;Any chance that you share the script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm scripting a related situation and it would be great to have something to compare with.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 11:44:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/146697#M6747</guid>
      <dc:creator>EnriqueGB</dc:creator>
      <dc:date>2022-04-21T11:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can we install on multiple firewalls using install policy comand from API CLI</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/151192#M6896</link>
      <description>&lt;P&gt;can share my friend&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 18:54:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-can-we-install-on-multiple-firewalls-using-install-policy/m-p/151192#M6896</guid>
      <dc:creator>allen_saldanha</dc:creator>
      <dc:date>2022-06-18T18:54:58Z</dc:date>
    </item>
  </channel>
</rss>

