<?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: &amp;quot;show-unused-objects&amp;quot; API is not returning list of host which is not used in firewall in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-show-unused-objects-quot-API-is-not-returning-list-of-host/m-p/100409#M5271</link>
    <description>&lt;P&gt;Is this bug resolved by now ?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Oct 2020 16:52:27 GMT</pubDate>
    <dc:creator>gogreen81</dc:creator>
    <dc:date>2020-10-28T16:52:27Z</dc:date>
    <item>
      <title>"show-unused-objects" API is not returning list of host which is not used in firewall rule but have the NAT option enabled</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-show-unused-objects-quot-API-is-not-returning-list-of-host/m-p/3767#M358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using "show-unused-objects" &amp;nbsp;R80.10 API to get list of all unused objects.&lt;/P&gt;&lt;P&gt;I have some host which have NAT option enabled (static or hide) but not getting used anywhere in firewall rule, show-unused-objects API is not returning those hosts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In smart dashboard &amp;nbsp;"where used" section , it shows host is not getting used anywhere.&lt;/P&gt;&lt;P&gt;Why smart dashboard and API result is different?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen shot from smart dashboard:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/57090_Capture1.PNG" style="width: 620px; height: 256px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/57091_Capture2.PNG" style="width: 620px; height: 252px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen shot API which i am using :&amp;nbsp;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/57095_Capture3.PNG" style="width: 620px; height: 199px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 08:23:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-show-unused-objects-quot-API-is-not-returning-list-of-host/m-p/3767#M358</guid>
      <dc:creator>Ekta_Siwani1</dc:creator>
      <dc:date>2017-06-23T08:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: "show-unused-objects" API is not returning list of host which is not used in firewall rule but have the NAT option enabled</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-show-unused-objects-quot-API-is-not-returning-list-of-host/m-p/3768#M359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a bug in the "show unused objects" query. You can also see this behavior of not presenting network objects with NAT that aren't used when going&amp;nbsp;with the GUI to the Object Explorer and changing it to Unused Objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/57099_unused.png" style="width: 620px; height: 385px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A workaround will be&amp;nbsp;using the where-used API command for every object. Although not ideal, it works. This is basically what you simulated in your GUI screenshot.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 10:18:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-show-unused-objects-quot-API-is-not-returning-list-of-host/m-p/3768#M359</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2017-06-25T10:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: "show-unused-objects" API is not returning list of host which is not used in firewall rule but have the NAT option enabled</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-show-unused-objects-quot-API-is-not-returning-list-of-host/m-p/3769#M360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.checkpoint.com/migrated-users/6703"&gt;https://community.checkpoint.com/people/tomera5b2e7f3-09aa-32f8-96c2-f0f5bfa2988b&lt;/A&gt;‌ ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Hope this bug will be solved in next version &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 13:56:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-show-unused-objects-quot-API-is-not-returning-list-of-host/m-p/3769#M360</guid>
      <dc:creator>Ekta_Siwani1</dc:creator>
      <dc:date>2017-06-25T13:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: "show-unused-objects" API is not returning list of host which is not used in firewall</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-show-unused-objects-quot-API-is-not-returning-list-of-host/m-p/100409#M5271</link>
      <description>&lt;P&gt;Is this bug resolved by now ?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 16:52:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-show-unused-objects-quot-API-is-not-returning-list-of-host/m-p/100409#M5271</guid>
      <dc:creator>gogreen81</dc:creator>
      <dc:date>2020-10-28T16:52:27Z</dc:date>
    </item>
  </channel>
</rss>

