<?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: How to list and export the objects member from the network group in checkpoint smartconsole R80. in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/155916#M7079</link>
    <description>&lt;P&gt;What is the output of:&amp;nbsp;&lt;SPAN&gt;mgmt_cli -r true show-group name "Group1" --format json&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 18:32:02 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2022-08-29T18:32:02Z</dc:date>
    <item>
      <title>How to list and export the objects member from the network group in checkpoint smartconsole R80.40</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/149636#M6833</link>
      <description>&lt;P&gt;How to list and export the objects member from the network group in checkpoint smartconsole R80.40 or in GAIA R80.40&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 15:16:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/149636#M6833</guid>
      <dc:creator>NISUKSUPPORT</dc:creator>
      <dc:date>2022-05-27T15:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to list and export the objects member from the network group in checkpoint smartconsole R80.</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/149645#M6835</link>
      <description>&lt;P&gt;It entirely depends on what is in the group and what precise details you need from said group.&lt;BR /&gt;If you want just the names of the objects in said group, something like:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;mgmt_cli -r true show-group name "groupname" --format json | jq '.members[] | [.name] |@csv' -r&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Or you can use a script like the following:&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 21:19:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/149645#M6835</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-05-27T21:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to list and export the objects member from the network group in checkpoint smartconsole R80.</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/155896#M7078</link>
      <description>&lt;P&gt;I'm getting an error:&lt;/P&gt;&lt;P&gt;[Expert@ws01:0]# mgmt_cli -r true show-group name "Group1" --format json | jq '.members[] | [.name] |@csv' -r&lt;BR /&gt;parse error: Invalid numeric literal at line 1, column 9&lt;BR /&gt;Logout failed&lt;/P&gt;&lt;P&gt;what is wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 13:17:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/155896#M7078</guid>
      <dc:creator>Exonix</dc:creator>
      <dc:date>2022-08-29T13:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to list and export the objects member from the network group in checkpoint smartconsole R80.</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/155916#M7079</link>
      <description>&lt;P&gt;What is the output of:&amp;nbsp;&lt;SPAN&gt;mgmt_cli -r true show-group name "Group1" --format json&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 18:32:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/155916#M7079</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-08-29T18:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to list and export the objects member from the network group in checkpoint smartconsole R80.</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/173333#M7528</link>
      <description>&lt;P&gt;And what if I want to export the users object complete with authentication methods?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 11:03:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/173333#M7528</guid>
      <dc:creator>Uj4ng</dc:creator>
      <dc:date>2023-03-02T11:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to list and export the objects member from the network group in checkpoint smartconsole R80.</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/173383#M7530</link>
      <description>&lt;P&gt;To get the name and authentication method, I imagine something like&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;mgmt_cli -r true show-users details-level full --format json | j&lt;SPAN&gt;q '.objects[] | [.name] [."authentication-method"] |@csv' -r&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you want additional details to be included, then you would modify the jq portion of the CLI command accordingly.&lt;BR /&gt;You can see the fields available here:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-users~v1.9%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-users~v1.9%20&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Also, if you have lots of users, you may have to issue this command multiple times using the offset parameter to request the next set of results.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 16:12:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-and-export-the-objects-member-from-the-network-group/m-p/173383#M7530</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-03-02T16:12:26Z</dc:date>
    </item>
  </channel>
</rss>

