<?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: Search Feature For NGFW Paloalto API in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/421960#M2733</link>
    <description>&lt;P&gt;up&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 06:10:33 GMT</pubDate>
    <dc:creator>Bogi_Farizna</dc:creator>
    <dc:date>2021-07-26T06:10:33Z</dc:date>
    <item>
      <title>Search Feature For NGFW Paloalto API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/421865#M2732</link>
      <description>&lt;P&gt;Hello Everyone..&lt;/P&gt;&lt;P&gt;I have a project for automation operational firewall NGFW Version 10.1..&lt;/P&gt;&lt;P&gt;I read the API documentation &amp;amp; talk to google but nothing.&lt;/P&gt;&lt;P&gt;My first question : Can I search specific address with specific ip_netmask value and fqdn value ? I mean about search is like contains or match in sql query.&lt;/P&gt;&lt;P&gt;Last question : Can I search specific rule with specific source member address value and destination member address value ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/188543"&gt;@Bogi_Farizna&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jul 2021 15:12:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/421865#M2732</guid>
      <dc:creator>Bogi_Farizna</dc:creator>
      <dc:date>2021-07-24T15:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Search Feature For NGFW Paloalto API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/421960#M2733</link>
      <description>&lt;P&gt;up&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 06:10:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/421960#M2733</guid>
      <dc:creator>Bogi_Farizna</dc:creator>
      <dc:date>2021-07-26T06:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Search Feature For NGFW Paloalto API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424135#M2740</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/188543"&gt;@Bogi_Farizna&lt;/a&gt;, today it would be achieved by exporting the section of config you want to search through (e.g. address objects, or rules) and filtering on the API client-side for the search term.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 09:38:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424135#M2740</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2021-08-03T09:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Search Feature For NGFW Paloalto API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424152#M2742</link>
      <description>&lt;P&gt;hello &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/4294"&gt;@JimmyHolland&lt;/a&gt; thanks for your attention.. so the API cannot support search for object value right ? And you suggest to exporting config for search object value, is it right ?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 10:52:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424152#M2742</guid>
      <dc:creator>Bogi_Farizna</dc:creator>
      <dc:date>2021-08-03T10:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search Feature For NGFW Paloalto API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424153#M2743</link>
      <description>&lt;P&gt;Today we have API operations for the various types of objects including: add, remove, edit/rename, list...&lt;BR /&gt;&lt;BR /&gt;A pattern match on the returned list of address objects, for example, should be relatively simple in whatever language/script is being used to execute against the API?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 11:00:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424153#M2743</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2021-08-03T11:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Search Feature For NGFW Paloalto API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424156#M2744</link>
      <description>&lt;P&gt;Hello &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/4294"&gt;@JimmyHolland&lt;/a&gt; , sure, I read that API documentation PAN.. &lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;but I did'nt find the object search feature by value, but only found the search feature by name.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Did I miss it?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;his is the API URL I found to search for objects by name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;:&lt;BR /&gt;https://{{host}}/restapi/v10.1/Objects/Addresses?name=Test-One&amp;amp;location={{location}}&amp;amp;vsys={{vsys}}&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 11:08:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424156#M2744</guid>
      <dc:creator>Bogi_Farizna</dc:creator>
      <dc:date>2021-08-03T11:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Search Feature For NGFW Paloalto API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424213#M2745</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/188543"&gt;@Bogi_Farizna&lt;/a&gt;, personally I use the XML API with a request like this to get all the address objects from a Panorama DeviceGroup:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://{{host}}/api/?key={{key}}&amp;amp;type=config&amp;amp;action=get&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']/device-group/entry[@name='{{device-group-name}}']/address&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The results looks like this, so you can easily filter the results and search for name of object, or IP address of object:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;response status="success" code="19"&amp;gt;
    &amp;lt;result total-count="1" count="1"&amp;gt;
        &amp;lt;address&amp;gt;
            &amp;lt;entry name="Test-Server-Portal"&amp;gt;
                &amp;lt;ip-netmask&amp;gt;172.17.0.5/32&amp;lt;/ip-netmask&amp;gt;
            &amp;lt;/entry&amp;gt;
            &amp;lt;entry name="Windows_Desktop"&amp;gt;
                &amp;lt;ip-netmask&amp;gt;172.16.10.123/32&amp;lt;/ip-netmask&amp;gt;
            &amp;lt;/entry&amp;gt;
            &amp;lt;entry name="192.168.1.1"&amp;gt;
                &amp;lt;ip-netmask&amp;gt;192.168.1.1/32&amp;lt;/ip-netmask&amp;gt;
            &amp;lt;/entry&amp;gt;
            &amp;lt;entry name="10.0.0.1"&amp;gt;
                &amp;lt;ip-netmask&amp;gt;10.0.0.1/32&amp;lt;/ip-netmask&amp;gt;
            &amp;lt;/entry&amp;gt;
            &amp;lt;entry name="10.0.2.1"&amp;gt;
                &amp;lt;ip-netmask&amp;gt;10.0.2.1/32&amp;lt;/ip-netmask&amp;gt;
            &amp;lt;/entry&amp;gt;
            &amp;lt;entry name="10.0.4.1"&amp;gt;
                &amp;lt;ip-netmask&amp;gt;10.0.4.1/32&amp;lt;/ip-netmask&amp;gt;
            &amp;lt;/entry&amp;gt;
            &amp;lt;entry name="10.0.0.0-24"&amp;gt;
                &amp;lt;ip-netmask&amp;gt;10.0.0.0/24&amp;lt;/ip-netmask&amp;gt;
            &amp;lt;/entry&amp;gt;
            &amp;lt;entry name="1.1.1.1"&amp;gt;
                &amp;lt;ip-netmask&amp;gt;1.1.1.1/32&amp;lt;/ip-netmask&amp;gt;
            &amp;lt;/entry&amp;gt;
        &amp;lt;/address&amp;gt;
    &amp;lt;/result&amp;gt;
&amp;lt;/response&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 15:04:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424213#M2745</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2021-08-03T15:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Search Feature For NGFW Paloalto API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424374#M2746</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/4294"&gt;@JimmyHolland&lt;/a&gt; , wohoo you are using XML.. ok, I know the API PAN have the ability to get all address and get by address name. but if i'm using get all address function and then filtering at client it need more time cause in my environment have more than 20k object address. so I ask you about ability API PAN to get by address value (ip-netmask or ip-range). is it possible ? if possible do you have a example request ?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 03:11:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424374#M2746</guid>
      <dc:creator>Bogi_Farizna</dc:creator>
      <dc:date>2021-08-04T03:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Search Feature For NGFW Paloalto API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424396#M2747</link>
      <description>&lt;P&gt;I'm afraid I don't have example of that&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/188543"&gt;@Bogi_Farizna&lt;/a&gt;.&amp;nbsp;If you want to discuss this with your SE/reseller/partner that would be the most appropriate next step. I can put you in touch with the right person if you want to share your company name (via DM on this forum if you wish to preserve privacy).&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 09:28:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/424396#M2747</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2021-08-04T09:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Search Feature For NGFW Paloalto API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/425050#M2752</link>
      <description>&lt;P&gt;Hello &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/4294"&gt;@JimmyHolland&lt;/a&gt; , I already send my information in your dm. thnks.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 09:44:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/425050#M2752</guid>
      <dc:creator>Bogi_Farizna</dc:creator>
      <dc:date>2021-08-06T09:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Search Feature For NGFW Paloalto API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/425058#M2753</link>
      <description>&lt;P&gt;Acknowledged and replied, thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 10:36:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/search-feature-for-ngfw-paloalto-api/m-p/425058#M2753</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2021-08-06T10:36:31Z</dc:date>
    </item>
  </channel>
</rss>

