<?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 Forcepoint to Check Point Migration Python Scripts (XML → Management API CSV) in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/Forcepoint-to-Check-Point-Migration-Python-Scripts-XML/m-p/279056#M1556</link>
    <description>&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Problem Statement&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;During a project, I needed to migrate a Forcepoint policy database to Check Point. However, SmartMove does not support this type of migration. To solve this, I developed this solution.&lt;/P&gt;
&lt;P&gt;Since Forcepoint exports its policies and objects in XML format, I created Python scripts that read the Forcepoint XML files and convert them into CSV files compatible with the Check Point Management API.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;To help other members of the community facing the same challenge, I am sharing these scripts along with instructions on how to use them.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="imagem (49).png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/34606i4168C6DE6E04C57A/image-size/large?v=v2&amp;amp;px=999" role="button" title="imagem (49).png" alt="imagem (49).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;How to Use&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Copy the XML files exported from Forcepoint into the same directory as the Python scripts.&lt;/LI&gt;
&lt;LI&gt;Run the required conversion script.&lt;/LI&gt;
&lt;LI&gt;Provide the XML file name when prompted with extension.&lt;/LI&gt;
&lt;LI&gt;Provide a name for CSV file that will be generated.&lt;/LI&gt;
&lt;LI&gt;Import the generated CSV files using the Check Point Management API.&lt;/LI&gt;
&lt;LI&gt;The generated CSV files will be created in the same directory as the scripts.&lt;/LI&gt;
&lt;LI&gt;Import the CSV files into the Security Management Server (SMS), then follow the provided instructions to complete the migration.&lt;/LI&gt;
&lt;/OL&gt;
&lt;DIV class="border-token-border-light bg-token-bg-primary flex flex-col rounded-[24px] border px-5 pt-2.5 pb-4 max-sm:ps-4 max-sm:pe-3 max-sm:pt-2.5 max-sm:pb-3"&gt;
&lt;DIV class="text-token-text-primary mt-2 text-start text-[17.5px] leading-6 whitespace-pre-wrap" dir="auto"&gt;The image below shows an example of one of the scripts being executed.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="flex justify-end px-3" data-language-learning-feedback-row="true"&gt;
&lt;DIV class="flex items-center justify-center items-center"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="imagem (50).png" style="width: 952px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/34607i4578B3059362721C/image-size/large?v=v2&amp;amp;px=999" role="button" title="imagem (50).png" alt="imagem (50).png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;The image below shows an example of the files in the folder: the converted CSV file (which is associated with Sublime Text on my computer), the XML file (which is associated with Microsoft Edge), and the Python (.py) script.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="imagem (51).png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/34608iAFF5CC7E74F90205/image-size/large?v=v2&amp;amp;px=999" role="button" title="imagem (51).png" alt="imagem (51).png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;The conversion of policies to CSV can be a bit complex when there are many objects and policies. The image below shows an example of what a converted policy file looks like when following the Check Point Management API format.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="imagem (52).png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/34609i972AE1CE4A4ECCF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="imagem (52).png" alt="imagem (52).png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Disclaimer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These scripts were developed to simplify Forcepoint-to-Check Point migrations. They are provided as-is and should be validated in a lab or test environment before being used in production.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I chose to convert Forcepoint NAT policies differently by recreating them in the Check Point SmartConsole API format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Application Control policies, I decided to recreate them manually in SmartConsole, since the way Forcepoint handles these policies and their associated objects is significantly different from Check Point.&lt;BR /&gt;&lt;BR /&gt;*** Some scripts are included to perform specific corrections on the generated policy CSV files. I tried to give each script a descriptive filename that reflects its purpose, and the scripts also contain comments to make them easier to understand and customize if needed.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jul 2026 09:53:39 GMT</pubDate>
    <dc:creator>israelfds95</dc:creator>
    <dc:date>2026-07-16T09:53:39Z</dc:date>
    <item>
      <title>Forcepoint to Check Point Migration Python Scripts (XML → Management API CSV)</title>
      <link>https://community.checkpoint.com/t5/Scripts/Forcepoint-to-Check-Point-Migration-Python-Scripts-XML/m-p/279056#M1556</link>
      <description>5</description>
      <pubDate>Thu, 16 Jul 2026 09:53:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Forcepoint-to-Check-Point-Migration-Python-Scripts-XML/m-p/279056#M1556</guid>
      <dc:creator>israelfds95</dc:creator>
      <dc:date>2026-07-16T09:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Forcepoint to Check Point Migration Python Scripts (XML → Management API CSV)</title>
      <link>https://community.checkpoint.com/t5/Scripts/Forcepoint-to-Check-Point-Migration-Python-Scripts-XML/m-p/279088#M1557</link>
      <description>&lt;P&gt;Nicely done!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 14:16:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Forcepoint-to-Check-Point-Migration-Python-Scripts-XML/m-p/279088#M1557</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2026-06-29T14:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Forcepoint to Check Point Migration Python Scripts (XML → Management API CSV)</title>
      <link>https://community.checkpoint.com/t5/Scripts/Forcepoint-to-Check-Point-Migration-Python-Scripts-XML/m-p/279110#M1558</link>
      <description>&lt;P&gt;Excellent content!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 17:19:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Forcepoint-to-Check-Point-Migration-Python-Scripts-XML/m-p/279110#M1558</guid>
      <dc:creator>WiliRGasparetto</dc:creator>
      <dc:date>2026-06-29T17:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Forcepoint to Check Point Migration Python Scripts (XML → Management API CSV)</title>
      <link>https://community.checkpoint.com/t5/Scripts/Forcepoint-to-Check-Point-Migration-Python-Scripts-XML/m-p/279114#M1559</link>
      <description>&lt;P&gt;🫡&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 19:22:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Forcepoint-to-Check-Point-Migration-Python-Scripts-XML/m-p/279114#M1559</guid>
      <dc:creator>israelfds95</dc:creator>
      <dc:date>2026-06-29T19:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Forcepoint to Check Point Migration Python Scripts (XML → Management API CSV)</title>
      <link>https://community.checkpoint.com/t5/Scripts/Forcepoint-to-Check-Point-Migration-Python-Scripts-XML/m-p/279127#M1560</link>
      <description>&lt;P&gt;It was an interesting project; I migrated over 600 rules and more than 5,000 objects.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2026 12:43:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Forcepoint-to-Check-Point-Migration-Python-Scripts-XML/m-p/279127#M1560</guid>
      <dc:creator>israelfds95</dc:creator>
      <dc:date>2026-06-30T12:43:51Z</dc:date>
    </item>
  </channel>
</rss>

