<?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 WEB API adding rules to a Policy in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/WEB-API-adding-rules-to-a-Policy/m-p/158433#M59984</link>
    <description>&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are in the proces of transferring our policies from a Management server to the Cloud SAAS solution.&lt;/P&gt;&lt;P&gt;We have several firewals and also several policies. We want to copy the Policy Rules from the old server to the new server.&lt;/P&gt;&lt;P&gt;Is there any to to make my life easier since CP doesn't provide me a migration tools for this. I am trying to do this using Python and the WEB_API...&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is not a lot of documentation for this topic and even less examples which i can use to create my script.&lt;/P&gt;&lt;P&gt;With my python script i was able to copy all host and network objects from the old server to the new one. that saved us a lot of time in typing. I would like to do the same action on the policy rules&lt;/P&gt;&lt;P&gt;Anybody has done this before.&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2022 11:36:50 GMT</pubDate>
    <dc:creator>Edgar-van-Rhee</dc:creator>
    <dc:date>2022-09-29T11:36:50Z</dc:date>
    <item>
      <title>WEB API adding rules to a Policy</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/WEB-API-adding-rules-to-a-Policy/m-p/158433#M59984</link>
      <description>&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are in the proces of transferring our policies from a Management server to the Cloud SAAS solution.&lt;/P&gt;&lt;P&gt;We have several firewals and also several policies. We want to copy the Policy Rules from the old server to the new server.&lt;/P&gt;&lt;P&gt;Is there any to to make my life easier since CP doesn't provide me a migration tools for this. I am trying to do this using Python and the WEB_API...&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is not a lot of documentation for this topic and even less examples which i can use to create my script.&lt;/P&gt;&lt;P&gt;With my python script i was able to copy all host and network objects from the old server to the new one. that saved us a lot of time in typing. I would like to do the same action on the policy rules&lt;/P&gt;&lt;P&gt;Anybody has done this before.&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 11:36:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/WEB-API-adding-rules-to-a-Policy/m-p/158433#M59984</guid>
      <dc:creator>Edgar-van-Rhee</dc:creator>
      <dc:date>2022-09-29T11:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: WEB API adding rules to a Policy</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/WEB-API-adding-rules-to-a-Policy/m-p/158438#M59985</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/82696"&gt;@Edgar-van-Rhee&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Firstly, an admin note. I moved your post from a local group to the Smart-1 Cloud space.&lt;BR /&gt;&lt;BR /&gt;Now, to the matter. Do I understand correctly that you are moving your on-prem management to Smart-1 Cloud? If so, there is a migration procedure described in the admin guide:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/Infinity_Portal/WebAdminGuides/EN/Check-Point-SmartCloud-Admin-Guide/Topics-Smart-1-Cloud/Using-the-Settings.htm#Migrate" target="_blank"&gt;https://sc1.checkpoint.com/documents/Infinity_Portal/WebAdminGuides/EN/Check-Point-SmartCloud-Admin-Guide/Topics-Smart-1-Cloud/Using-the-Settings.htm#Migrate&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you are trying to do something else, please do elaborate.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 12:09:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/WEB-API-adding-rules-to-a-Policy/m-p/158438#M59985</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-09-29T12:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: WEB API adding rules to a Policy</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/WEB-API-adding-rules-to-a-Policy/m-p/158440#M59986</link>
      <description>&lt;P&gt;Couple API examples:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/Python-tool-for-exporting-importing-a-policy-package-or-parts-of/m-p/41100#M2829" target="_blank"&gt;https://community.checkpoint.com/t5/API-CLI-Discussion/Python-tool-for-exporting-importing-a-policy-package-or-parts-of/m-p/41100#M2829&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/CLI-API-Example-for-exporting-importing-and-deleting-different/m-p/40850#M2766" target="_blank"&gt;https://community.checkpoint.com/t5/API-CLI-Discussion/CLI-API-Example-for-exporting-importing-and-deleting-different/m-p/40850#M2766&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 29 Sep 2022 12:30:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/WEB-API-adding-rules-to-a-Policy/m-p/158440#M59986</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-09-29T12:30:39Z</dc:date>
    </item>
  </channel>
</rss>

