<?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 Query Palo Alto Firewall PA-5020 using Firemon in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/query-palo-alto-firewall-pa-5020-using-firemon/m-p/6858#M181</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 working on integrating Firemon with Palo Alto and need to query the Palo Alto for zones. Here's what I am trying to do. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem statement: I want to write a query that would give me the list of firewall rules with ("any"&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #ecf3ea;"&gt; in "Destination zone" AND "Service" AND "Action" = accept ). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #ecf3ea;"&gt;I am able to generate a query that will give me ("any"&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #ecf3ea;"&gt; in "Destination zone" AND "Service" AND "Action" = accept&lt;/SPAN&gt;) which is given below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;query: &lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #ecf3ea;"&gt;rule{disabled=false and destination.any = true and (application.any=true or application.objectcount is empty) and service.any=true and action='ACCEPT'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This query works and give me the list of all rules with destination = any. How can I change it to destination zone =any. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2014 15:10:06 GMT</pubDate>
    <dc:creator>padkumar4</dc:creator>
    <dc:date>2014-05-08T15:10:06Z</dc:date>
    <item>
      <title>Query Palo Alto Firewall PA-5020 using Firemon</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/query-palo-alto-firewall-pa-5020-using-firemon/m-p/6858#M181</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 working on integrating Firemon with Palo Alto and need to query the Palo Alto for zones. Here's what I am trying to do. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem statement: I want to write a query that would give me the list of firewall rules with ("any"&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #ecf3ea;"&gt; in "Destination zone" AND "Service" AND "Action" = accept ). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #ecf3ea;"&gt;I am able to generate a query that will give me ("any"&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #ecf3ea;"&gt; in "Destination zone" AND "Service" AND "Action" = accept&lt;/SPAN&gt;) which is given below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;query: &lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #ecf3ea;"&gt;rule{disabled=false and destination.any = true and (application.any=true or application.objectcount is empty) and service.any=true and action='ACCEPT'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This query works and give me the list of all rules with destination = any. How can I change it to destination zone =any. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 15:10:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/query-palo-alto-firewall-pa-5020-using-firemon/m-p/6858#M181</guid>
      <dc:creator>padkumar4</dc:creator>
      <dc:date>2014-05-08T15:10:06Z</dc:date>
    </item>
  </channel>
</rss>

