<?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: Batch add objects , what is the correct CSV format in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/83594#M88449</link>
    <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please check what I am doing wrong&amp;nbsp;&lt;/P&gt;&lt;P&gt;mgmt_cli add dns-domain --batch file&lt;/P&gt;&lt;P&gt;[Expert@smartcenter:0]# cat file&lt;BR /&gt;name,is-sub-domain&lt;BR /&gt;".example1.com",false&lt;BR /&gt;".example2.com",false&lt;/P&gt;&lt;P&gt;I tried to use single quotes, without quotes and nothing is worked for me, I am always receive error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Line 2: code: "generic_err_invalid_parameter_name"&lt;BR /&gt;message: "Unrecognized parameter [name]"&lt;/P&gt;&lt;P&gt;Line 3: code: "generic_err_invalid_parameter_name"&lt;BR /&gt;message: "Unrecognized parameter [name]"&lt;/P&gt;&lt;P&gt;by the way mgmt_cli add dns-domain name ".example1.com" is-sub-domain false, work just fine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help ? Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 29 Apr 2020 10:12:01 GMT</pubDate>
    <dc:creator>denmamom</dc:creator>
    <dc:date>2020-04-29T10:12:01Z</dc:date>
    <item>
      <title>Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/32345#M88440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a CSV file , the format is below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="78365" class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/78365_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then transferred this csv file to the Checkpoint management server, run the batch command,&amp;nbsp; i got the following errors&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="78366" class="image-2 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/78366_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please assist?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 00:36:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/32345#M88440</guid>
      <dc:creator>Cathy_Cheng</dc:creator>
      <dc:date>2019-02-12T00:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/32346#M88441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see&amp;nbsp;&lt;A class="link-titled" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk113078" title="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk113078"&gt;How to import multiple objects into R80.x Management database using .csv file&lt;/A&gt;&amp;nbsp;for the accepted CSV format.&lt;/P&gt;&lt;P&gt;When you are showing it in a spreadsheet, we do not know what the delimiters are when it is opened in the text editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, if you are creating this file on Windows, it is likely that the EOL (end of line) characters are incorrect.&lt;/P&gt;&lt;P&gt;You can either compensate it by using dos2unix&amp;nbsp;&lt;A class="link-titled" href="https://bencane.com/2014/02/11/converting-files-from-windows-format-to-unix-format-with-dos2unix/" title="https://bencane.com/2014/02/11/converting-files-from-windows-format-to-unix-format-with-dos2unix/"&gt;https://bencane.com/2014/02/11/converting-files-from-windows-format-to-unix-format-with-dos2unix/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or using something like Notepad++ to save the file in the compatible format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 00:49:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/32346#M88441</guid>
      <dc:creator>Vladimir</dc:creator>
      <dc:date>2019-02-12T00:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/32347#M88442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you so much. txt works.&lt;/P&gt;&lt;P&gt;Also, what is the format of the file if I need to batch add networks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 02:31:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/32347#M88442</guid>
      <dc:creator>Cathy_Cheng</dc:creator>
      <dc:date>2019-02-13T02:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/32348#M88443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depends on what parameters you want to set.&lt;/P&gt;&lt;P&gt;In general, the first line is the name of the parameters you want to set, which&amp;nbsp;must match exactly the parameter name in the API documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 05:20:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/32348#M88443</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-02-13T05:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/80170#M88444</link>
      <description>hello &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt; do you have excel csv format of dns-domain object (fqdn object), can you please help me on this&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Mar 2020 08:18:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/80170#M88444</guid>
      <dc:creator>Rabindra_Khadka</dc:creator>
      <dc:date>2020-03-30T08:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/80227#M88445</link>
      <description>See the API documentation for add-dns-domain:&lt;BR /&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-dns-domain~v1.6" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-dns-domain~v1.6&lt;/A&gt; &lt;BR /&gt;Specifically look under "Parameter Name" as these what you can use in the first line of the CSV.&lt;BR /&gt;Note that you do not need to include all of the parameters, only the required ones along with the ones you wish to set to non-default values.</description>
      <pubDate>Mon, 30 Mar 2020 18:11:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/80227#M88445</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-03-30T18:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/80321#M88446</link>
      <description>Thanks for the idea. it works&lt;BR /&gt;but what about the groups, if we want to assign all the list of domain on the paticular group at the same time via csv format</description>
      <pubDate>Tue, 31 Mar 2020 13:44:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/80321#M88446</guid>
      <dc:creator>Rabindra_Khadka</dc:creator>
      <dc:date>2020-03-31T13:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/80322#M88447</link>
      <description>I didn't find "Parameter Name" for the groups in dns-domain section</description>
      <pubDate>Tue, 31 Mar 2020 13:47:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/80322#M88447</guid>
      <dc:creator>Rabindra_Khadka</dc:creator>
      <dc:date>2020-03-31T13:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/80329#M88448</link>
      <description>That's because the API doesn't support this operation for Domain objects (i.e. adding it to a group on creation).&lt;BR /&gt;That will have to be done as a separate API call.</description>
      <pubDate>Tue, 31 Mar 2020 14:56:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/80329#M88448</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-03-31T14:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/83594#M88449</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please check what I am doing wrong&amp;nbsp;&lt;/P&gt;&lt;P&gt;mgmt_cli add dns-domain --batch file&lt;/P&gt;&lt;P&gt;[Expert@smartcenter:0]# cat file&lt;BR /&gt;name,is-sub-domain&lt;BR /&gt;".example1.com",false&lt;BR /&gt;".example2.com",false&lt;/P&gt;&lt;P&gt;I tried to use single quotes, without quotes and nothing is worked for me, I am always receive error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Line 2: code: "generic_err_invalid_parameter_name"&lt;BR /&gt;message: "Unrecognized parameter [name]"&lt;/P&gt;&lt;P&gt;Line 3: code: "generic_err_invalid_parameter_name"&lt;BR /&gt;message: "Unrecognized parameter [name]"&lt;/P&gt;&lt;P&gt;by the way mgmt_cli add dns-domain name ".example1.com" is-sub-domain false, work just fine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help ? Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 10:12:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/83594#M88449</guid>
      <dc:creator>denmamom</dc:creator>
      <dc:date>2020-04-29T10:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/118186#M88450</link>
      <description>&lt;P&gt;Hi Please revise correct format for batch file as below, then do command again, thanks.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;name,is-sub-domain&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.example1.com,false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.example2.com,false&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 17:49:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/118186#M88450</guid>
      <dc:creator>Wei_Justin</dc:creator>
      <dc:date>2021-05-11T17:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/118187#M88451</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi , Please revise the correct format as below, then do command again, thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;name,is-sub-domain&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.example1.com,false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.example2.com,false&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 17:51:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/118187#M88451</guid>
      <dc:creator>Wei_Justin</dc:creator>
      <dc:date>2021-05-11T17:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add objects , what is the correct CSV format</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/131470#M88452</link>
      <description>&lt;P&gt;I know this is an old thread, but I found out for service groups on r80.40, the csv-format is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;name,members,members,members,members
"icmp-requests","echo-request","info-req","mask-request","timestamp"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't tried any other type of groups, so I'm not sure that the format is universal - it is per group, but if some groups have more or less members, I'd think the import would fail as those columns are empty.&lt;/P&gt;&lt;P&gt;Instead I created a REST-API-script that did the export/import of service-groups for me. I'll be publishing it on GitHub and Checkmates this week.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My bad, published it on github, but forgot to link it here. Created a &lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/Python-script-to-copy-service-groups-from-SMS-to-new-SMS/m-p/132192/highlight/true#M6352" target="_blank" rel="noopener"&gt;new post&lt;/A&gt; as not to spam external links:&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 09:07:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Batch-add-objects-what-is-the-correct-CSV-format/m-p/131470#M88452</guid>
      <dc:creator>David_Brodin</dc:creator>
      <dc:date>2021-10-20T09:07:59Z</dc:date>
    </item>
  </channel>
</rss>

