<?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 How to search all objects who's name contains specific text in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-search-all-objects-who-s-name-contains-specific-text/m-p/17771#M1168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here’s how you can list the UIDs for all objects whose name contain the text ‘echo’.&lt;/P&gt;&lt;P&gt;This is using the management CLI and jq utility.&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[Expert@r80_20_ga:0]# &lt;STRONG&gt;mgmt_cli show objects filter echo -s id.txt -f json | jq '.objects[] | [.name , .uid, .type] | @csv ' -r&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo","97aeb46a-9aea-11d5-bd16-0090272ccb30","service-group"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"Echo","00fa9e3c-b2f4-0f65-e053-08241dc22da2","application-site"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo-reply","97aeb406-9aea-11d5-bd16-0090272ccb30","service-icmp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo-reply6","ac85a522-916a-4ce0-8411-32d1d0016348","service-icmp6"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo-request","97aeb40a-9aea-11d5-bd16-0090272ccb30","service-icmp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo-request6","cecf9574-01e7-4125-b9c4-f26f50c66f73","service-icmp6"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo-tcp","97aeb3f7-9aea-11d5-bd16-0090272ccb30","service-tcp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo-udp","97aeb3f8-9aea-11d5-bd16-0090272ccb30","service-udp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"Echopic","00fa9e3c-b2b1-0f65-e053-08241dc22da2","application-site"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"EchoSign","00fa9e44-3e01-0f65-e053-08241dc22da2","application-site"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"EchoSign-upload","06df9e86-c034-657d-e053-08241dc2b9e0","application-site"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"Echoware","00fa9e41-f9ba-0f65-e053-08241dc22da2","application-site"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2018 18:42:45 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2018-12-19T18:42:45Z</dc:date>
    <item>
      <title>How to search all objects who's name contains specific text</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-search-all-objects-who-s-name-contains-specific-text/m-p/17771#M1168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here’s how you can list the UIDs for all objects whose name contain the text ‘echo’.&lt;/P&gt;&lt;P&gt;This is using the management CLI and jq utility.&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[Expert@r80_20_ga:0]# &lt;STRONG&gt;mgmt_cli show objects filter echo -s id.txt -f json | jq '.objects[] | [.name , .uid, .type] | @csv ' -r&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo","97aeb46a-9aea-11d5-bd16-0090272ccb30","service-group"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"Echo","00fa9e3c-b2f4-0f65-e053-08241dc22da2","application-site"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo-reply","97aeb406-9aea-11d5-bd16-0090272ccb30","service-icmp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo-reply6","ac85a522-916a-4ce0-8411-32d1d0016348","service-icmp6"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo-request","97aeb40a-9aea-11d5-bd16-0090272ccb30","service-icmp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo-request6","cecf9574-01e7-4125-b9c4-f26f50c66f73","service-icmp6"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo-tcp","97aeb3f7-9aea-11d5-bd16-0090272ccb30","service-tcp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"echo-udp","97aeb3f8-9aea-11d5-bd16-0090272ccb30","service-udp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"Echopic","00fa9e3c-b2b1-0f65-e053-08241dc22da2","application-site"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"EchoSign","00fa9e44-3e01-0f65-e053-08241dc22da2","application-site"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"EchoSign-upload","06df9e86-c034-657d-e053-08241dc2b9e0","application-site"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;"Echoware","00fa9e41-f9ba-0f65-e053-08241dc22da2","application-site"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2018 18:42:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-search-all-objects-who-s-name-contains-specific-text/m-p/17771#M1168</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-12-19T18:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all objects who's name contains specific text</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-search-all-objects-who-s-name-contains-specific-text/m-p/218854#M8575</link>
      <description>&lt;P&gt;How can I search an object by its value, no its name.&lt;BR /&gt;For example, I need to know what host object has the IP address 172.18.90.45.&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 18:20:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-search-all-objects-who-s-name-contains-specific-text/m-p/218854#M8575</guid>
      <dc:creator>hcampuzano</dc:creator>
      <dc:date>2024-06-26T18:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all objects who's name contains specific text</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-search-all-objects-who-s-name-contains-specific-text/m-p/218899#M8576</link>
      <description>&lt;P&gt;It should be the same syntax to search for an IP address (replace echo with the IP address in quotes).&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 23:16:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-search-all-objects-who-s-name-contains-specific-text/m-p/218899#M8576</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-06-26T23:16:37Z</dc:date>
    </item>
  </channel>
</rss>

