<?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: Facing challenges to export network objects in .csv file using mgmt_Cli in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Facing-challenges-to-export-network-objects-in-csv-file-using/m-p/209905#M8422</link>
    <description>&lt;P&gt;From CLISH run "show api status". It might be that your API server is not enabled. For full details on how to enable API on your management server, read the&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#introduction~v1.9.1%20" target="_self"&gt;introduction in the API Reference Guide&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also, it seems to me, that you are running this command on GW and not on a management server.&lt;/P&gt;
&lt;P&gt;Most importantly, R80.40 will be out of support in April, make sure you plan to upgrade your environment to the recommended version.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2024 09:05:14 GMT</pubDate>
    <dc:creator>_Val_</dc:creator>
    <dc:date>2024-03-28T09:05:14Z</dc:date>
    <item>
      <title>Facing challenges to export network objects in .csv file using mgmt_Cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Facing-challenges-to-export-network-objects-in-csv-file-using/m-p/209630#M8414</link>
      <description>&lt;P&gt;While try to run show-group name on mgmt cli, I'm getting below error.&lt;/P&gt;&lt;P&gt;mgmt_cli -r true show-group name "network_Object1" --format json | jq '.members[] | [.name] |@csv' -r&lt;BR /&gt;Error: Failed to login to the management server&lt;/P&gt;&lt;P&gt;while checking api status, I'm getting below error&lt;/P&gt;&lt;P&gt;[Expert@dcfw:0]# api status&lt;BR /&gt;cat: /opt/CPsuite-R80.40/fw1/conf/cpmServerSettings.props: No such file or directory&lt;BR /&gt;Script may not be run on non-management servers.&lt;/P&gt;&lt;P&gt;[Expert@dcfw:0]# mgmt_cli show group name network_Object1&lt;BR /&gt;Username: xxxxxx&lt;BR /&gt;Password:&lt;BR /&gt;message: "The Management API service is not available. Please check that the Management API server is up and running."&lt;BR /&gt;code: "generic_error"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to enable management API on checkpoint expert screen and get network object in checkpoint firewall.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 17:26:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Facing-challenges-to-export-network-objects-in-csv-file-using/m-p/209630#M8414</guid>
      <dc:creator>Sword_King_87</dc:creator>
      <dc:date>2024-03-25T17:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Facing challenges to export network objects in .csv file using mgmt_Cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Facing-challenges-to-export-network-objects-in-csv-file-using/m-p/209905#M8422</link>
      <description>&lt;P&gt;From CLISH run "show api status". It might be that your API server is not enabled. For full details on how to enable API on your management server, read the&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#introduction~v1.9.1%20" target="_self"&gt;introduction in the API Reference Guide&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also, it seems to me, that you are running this command on GW and not on a management server.&lt;/P&gt;
&lt;P&gt;Most importantly, R80.40 will be out of support in April, make sure you plan to upgrade your environment to the recommended version.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 09:05:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Facing-challenges-to-export-network-objects-in-csv-file-using/m-p/209905#M8422</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2024-03-28T09:05:14Z</dc:date>
    </item>
  </channel>
</rss>

