<?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: Group membership export with IP address in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Group-membership-export-with-IP-address/m-p/58200#M3695</link>
    <description>By description, I assume you mean comment.&lt;BR /&gt;Try these two CLI commands from &lt;BR /&gt;&lt;BR /&gt;mgmt_cli -r true --format json show group name group-name details-level full | jq '.members[] | [.name , ."ipv4-address" , .comments ] | @csv'&lt;BR /&gt;mgmt_cli -r true --format json show group name adult-machines details-level full offset 500 | jq '.members[] | [.name , ."ipv4-address" , .comments ] | @csv'&lt;BR /&gt;&lt;BR /&gt;Note that a second command is required since the API will only return 500 results at a time. The "offset 500" will return the next set of results.</description>
    <pubDate>Mon, 15 Jul 2019 03:16:49 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2019-07-15T03:16:49Z</dc:date>
    <item>
      <title>Group membership export with IP address</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Group-membership-export-with-IP-address/m-p/58028#M3694</link>
      <description>&lt;P&gt;I have a group object that contains close to 600 devices. I can export the group to a csv but it only contains the group information. If I search for a specific device, I can export a csv with hostname, IP address, and description. However, I cannot export a csv with the members of a group with the hostname, IP address, and description. I've looked into some APIs but did not have much luck. Any and all assistance is greatly appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 13:55:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Group-membership-export-with-IP-address/m-p/58028#M3694</guid>
      <dc:creator>Jack_Shultz</dc:creator>
      <dc:date>2019-07-11T13:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Group membership export with IP address</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Group-membership-export-with-IP-address/m-p/58200#M3695</link>
      <description>By description, I assume you mean comment.&lt;BR /&gt;Try these two CLI commands from &lt;BR /&gt;&lt;BR /&gt;mgmt_cli -r true --format json show group name group-name details-level full | jq '.members[] | [.name , ."ipv4-address" , .comments ] | @csv'&lt;BR /&gt;mgmt_cli -r true --format json show group name adult-machines details-level full offset 500 | jq '.members[] | [.name , ."ipv4-address" , .comments ] | @csv'&lt;BR /&gt;&lt;BR /&gt;Note that a second command is required since the API will only return 500 results at a time. The "offset 500" will return the next set of results.</description>
      <pubDate>Mon, 15 Jul 2019 03:16:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Group-membership-export-with-IP-address/m-p/58200#M3695</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-07-15T03:16:49Z</dc:date>
    </item>
  </channel>
</rss>

