<?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 Exact match for object lookup in the rulebase in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Exact-match-for-object-lookup-in-the-rulebase/m-p/63760#M3969</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;simple question: Is there any way to search in the rulebase an object by its exact name via api?&lt;/P&gt;&lt;P&gt;When i search an object in the rulebase with its name i.e. "MyName", the output reports also rules with objects like "Old_myname_checkpoint".&lt;/P&gt;&lt;P&gt;Case-insensitve mechanism is not a problem, but in my case i prefer to have an exact match just for the pattern that i'm looking for.&lt;/P&gt;&lt;P&gt;I also tried in ignorant fashion: "^MyName$" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think that this could by tied to this note:&lt;BR /&gt;"Note - Typing the token name into the search box does not always produce the same results as selecting from the list." as reported in the &lt;A href="https://sc1.checkpoint.com/documents/R80.20/SmartConsole_OLH/EN/html_frameset.htm?topic=lTxhoOMr4uuA-bojwzhElQ2" target="_blank" rel="noopener"&gt;guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2019 18:10:51 GMT</pubDate>
    <dc:creator>Francesco-P</dc:creator>
    <dc:date>2019-09-26T18:10:51Z</dc:date>
    <item>
      <title>Exact match for object lookup in the rulebase</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Exact-match-for-object-lookup-in-the-rulebase/m-p/63760#M3969</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;simple question: Is there any way to search in the rulebase an object by its exact name via api?&lt;/P&gt;&lt;P&gt;When i search an object in the rulebase with its name i.e. "MyName", the output reports also rules with objects like "Old_myname_checkpoint".&lt;/P&gt;&lt;P&gt;Case-insensitve mechanism is not a problem, but in my case i prefer to have an exact match just for the pattern that i'm looking for.&lt;/P&gt;&lt;P&gt;I also tried in ignorant fashion: "^MyName$" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think that this could by tied to this note:&lt;BR /&gt;"Note - Typing the token name into the search box does not always produce the same results as selecting from the list." as reported in the &lt;A href="https://sc1.checkpoint.com/documents/R80.20/SmartConsole_OLH/EN/html_frameset.htm?topic=lTxhoOMr4uuA-bojwzhElQ2" target="_blank" rel="noopener"&gt;guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 18:10:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Exact-match-for-object-lookup-in-the-rulebase/m-p/63760#M3969</guid>
      <dc:creator>Francesco-P</dc:creator>
      <dc:date>2019-09-26T18:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exact match for object lookup in the rulebase</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Exact-match-for-object-lookup-in-the-rulebase/m-p/63773#M3970</link>
      <description>I don't think the API has a concept of "exact match" for the show objects call.&lt;BR /&gt;You could probably pipe the output thru jq to print only the exact match you care about, though.</description>
      <pubDate>Thu, 26 Sep 2019 21:16:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Exact-match-for-object-lookup-in-the-rulebase/m-p/63773#M3970</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-09-26T21:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exact match for object lookup in the rulebase</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Exact-match-for-object-lookup-in-the-rulebase/m-p/63864#M3975</link>
      <description>Thank you PhoneBoy, i suspected that...&lt;BR /&gt;I'll put the login into the script</description>
      <pubDate>Fri, 27 Sep 2019 19:00:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Exact-match-for-object-lookup-in-the-rulebase/m-p/63864#M3975</guid>
      <dc:creator>Francesco-P</dc:creator>
      <dc:date>2019-09-27T19:00:03Z</dc:date>
    </item>
  </channel>
</rss>

