Filter security policies by no description

L0 Member

Filter security policies by no description

I am trying to view only security policies that do not have a description.  I have found the following links but am unable to get the output i need.  I need to show rules with no description and for all the operations i must define a valuen and all i am after is a NUL.

 

https://www.paloaltonetworks.com/documentation/traps/4-2/traps-endpoint-security-manager-admin/getti...

 

https://www.paloaltonetworks.com/documentation/41/endpoint/endpoint-admin-guide/getting-started-with...

 

 

 

L7 Applicator

Re: Filter security policies by no description

@PaulParlevliet

So far I don't know if this is possible in the WebUI. But with the XML config and a XPATH query this definately can be done.

Community Manager

Re: Filter security policies by no description

This is not possible in the GUI, you need to do a 'positive match' search for values, but a policy without description does not have a matching XML entry to match, so you can't search for an 'empty' xpath either (unless you do a search for the surrounding attributs:)

 

eg. 'with' description

                  <action>allow</action>
                  <description>General Internet Traffic</description>
                  <log-setting>default</log-setting>

'without' description

                  <action>allow</action>
                  <log-setting>default</log-setting>

 

 a (dirty) workaround in the GUI is to search for (description neq 'null') (or any other single word that is not used as a description). The resulting filtered view will show you all rules except the ones without description, so you can see which ones are missing by the missing rule numbers

 


Help the community: Like helpful comments and mark solutions
Reaper out
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!