<?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: Error trying to create multiple ACL multiple using csv and mgmt_cli in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-trying-to-create-multiple-ACL-multiple-using-csv-and-mgmt/m-p/186104#M7842</link>
    <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;That was a typo on my part. It should of been R81.10.&amp;nbsp; I will raise a TAC case.&lt;/P&gt;&lt;P&gt;BTW - I remember your excellent website back in the day. We always used it, it was a fantastic resource!&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2023 08:18:00 GMT</pubDate>
    <dc:creator>Chancer</dc:creator>
    <dc:date>2023-07-11T08:18:00Z</dc:date>
    <item>
      <title>Error trying to create multiple ACL multiple using csv and mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-trying-to-create-multiple-ACL-multiple-using-csv-and-mgmt/m-p/186028#M7840</link>
      <description>&lt;P&gt;Hi fellow Check Mates,&lt;/P&gt;&lt;P&gt;I'm getting an error message when trying to create multiple access control rules using mgmt_cli and referencing a csv file. This is being run on an MDS server hence the -d option&lt;/P&gt;&lt;P&gt;MDS&amp;nbsp; R81.40&lt;/P&gt;&lt;P&gt;api version : 1.8.1&lt;/P&gt;&lt;P&gt;Commands:&lt;/P&gt;&lt;P&gt;mgmt_cli login -r true -d xxx.xxx.xxx.xxx &amp;gt; id.txt&lt;/P&gt;&lt;P&gt;mgmt_cli login -r true -d xxx.xxx.xxx.xxx --batch filename.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Line 2: code: "generic_err_invalid_parameter_name"&lt;/P&gt;&lt;P&gt;message: "Unrecognized parameter [action]"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the contents of filename.csv (other rules omitted for brevity reasons)&lt;/P&gt;&lt;P&gt;layer,position.bottom,source,destination,service.1,service.2,service.3,action,track,comments&lt;/P&gt;&lt;P&gt;MY_POLICY_NAME Network,&amp;lt;my section name&amp;gt;,host_object,group_object,TCP111,TCP222,TCP333,Accept,Log,&amp;lt;my comments&amp;gt;&lt;/P&gt;&lt;P&gt;If I run the command manually below it works fine and adds the rule&lt;/P&gt;&lt;P&gt;mgmt_cli -s id.txt add access-rule "MY_POLICY_NAME Network" position.bottom "my section name" source "host_object" destination "group_object" service.1 "TCP111" service.2 "TCP222" service.3 "TCP333" action "Accept" track "Log" comments "my comments"&lt;/P&gt;&lt;P&gt;I thought it might be something to do with the format of the csv file so I ran the dos2unix command but got the same error message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has any ideas, let me know.&amp;nbsp; Thanks for reading.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 13:51:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-trying-to-create-multiple-ACL-multiple-using-csv-and-mgmt/m-p/186028#M7840</guid>
      <dc:creator>Chancer</dc:creator>
      <dc:date>2023-07-10T13:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to create multiple ACL multiple using csv and mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-trying-to-create-multiple-ACL-multiple-using-csv-and-mgmt/m-p/186081#M7841</link>
      <description>&lt;P&gt;There is no release R81.40.&lt;BR /&gt;API 1.8.1 suggests the real release is R81.10 + JHF.&amp;nbsp;&lt;BR /&gt;Recommend a TAC case: &lt;A href="https://help.checkpoint.com" target="_blank"&gt;https://help.checkpoint.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 22:35:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-trying-to-create-multiple-ACL-multiple-using-csv-and-mgmt/m-p/186081#M7841</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-07-10T22:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to create multiple ACL multiple using csv and mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-trying-to-create-multiple-ACL-multiple-using-csv-and-mgmt/m-p/186104#M7842</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;That was a typo on my part. It should of been R81.10.&amp;nbsp; I will raise a TAC case.&lt;/P&gt;&lt;P&gt;BTW - I remember your excellent website back in the day. We always used it, it was a fantastic resource!&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 08:18:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-trying-to-create-multiple-ACL-multiple-using-csv-and-mgmt/m-p/186104#M7842</guid>
      <dc:creator>Chancer</dc:creator>
      <dc:date>2023-07-11T08:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to create multiple ACL multiple using csv and mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-trying-to-create-multiple-ACL-multiple-using-csv-and-mgmt/m-p/186107#M7843</link>
      <description>&lt;P&gt;You've not specified an action in your second command there, you've just fed a bunch of parameters after a login prompt.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 09:00:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-trying-to-create-multiple-ACL-multiple-using-csv-and-mgmt/m-p/186107#M7843</guid>
      <dc:creator>emmap</dc:creator>
      <dc:date>2023-07-11T09:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to create multiple ACL multiple using csv and mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-trying-to-create-multiple-ACL-multiple-using-csv-and-mgmt/m-p/186115#M7844</link>
      <description>&lt;P&gt;Good spot. Sorry I posted this in a rush and it was on a Monday morning which didn't help.&amp;nbsp; This is the command I'm entering&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mgmt_cli login -s id.txt add access-rule -d&amp;nbsp; xxx.xxx.xxx.xxx --batch filename.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cheers for replying&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 10:01:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-trying-to-create-multiple-ACL-multiple-using-csv-and-mgmt/m-p/186115#M7844</guid>
      <dc:creator>Chancer</dc:creator>
      <dc:date>2023-07-11T10:01:01Z</dc:date>
    </item>
  </channel>
</rss>

