<?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 Lookup URL in Custom Categories in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/lookup-url-in-custom-categories/m-p/15765#M11526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently trying to verify a list of URLs is blocked in my configuration.&amp;nbsp; So far I have tried the following commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test url &amp;lt;URL&amp;gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;test custom-url url &amp;lt;URL&amp;gt; rule &amp;lt;rule name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first command returns what the site is classified as by Brightcloud.&amp;nbsp; The second command does not return any output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to look up a URL to see if it matches a Custom Category?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example if I put *.google.com in a custom category called Disallowed and I ran the following commands on the firewall:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test url www.google.com &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gives the output "www.google.com search-engines (Base db)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test custom-url url www.google.com rule default-access&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gives no output to the screen at all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running PAN OS 4.0.7&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2013 14:09:20 GMT</pubDate>
    <dc:creator>c_luck</dc:creator>
    <dc:date>2013-01-16T14:09:20Z</dc:date>
    <item>
      <title>Lookup URL in Custom Categories</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/lookup-url-in-custom-categories/m-p/15765#M11526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently trying to verify a list of URLs is blocked in my configuration.&amp;nbsp; So far I have tried the following commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test url &amp;lt;URL&amp;gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;test custom-url url &amp;lt;URL&amp;gt; rule &amp;lt;rule name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first command returns what the site is classified as by Brightcloud.&amp;nbsp; The second command does not return any output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to look up a URL to see if it matches a Custom Category?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example if I put *.google.com in a custom category called Disallowed and I ran the following commands on the firewall:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test url www.google.com &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gives the output "www.google.com search-engines (Base db)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test custom-url url www.google.com rule default-access&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gives no output to the screen at all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running PAN OS 4.0.7&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 14:09:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/lookup-url-in-custom-categories/m-p/15765#M11526</guid>
      <dc:creator>c_luck</dc:creator>
      <dc:date>2013-01-16T14:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup URL in Custom Categories</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/lookup-url-in-custom-categories/m-p/15766#M11527</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;It seems it is not picking up that wildcard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the same in my lab (4.1.9). Got the same result with the wildcard but putting 'www.google.com' in the custom category returned the expected custom category :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://live.paloaltonetworks.com/mailto:admin@PA-500/"&gt;admin@PA-500&lt;/A&gt;&amp;gt; test custom-url rule rule1 url &lt;A href="http://www.google.com/"&gt;www.google.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Custom category matched: blah, action: alert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT : Actually it does work on my LAB ... I messed up my previous lab config.&lt;BR /&gt;However, after correcting it does return the correct result using a wildcard :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;custom-url-category&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;entry name="blah"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;member&amp;gt;*.google.com&amp;lt;/member&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;description&amp;gt;blah&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/custom-url-category&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="mailto:admin@PA-500"&gt;admin@PA-500&lt;/A&gt;&amp;gt; test custom-url rule rule1 url &lt;A href="http://www.google.com/"&gt;www.google.com&lt;/A&gt;&lt;BR /&gt;Custom category matched: blah, action: alert&lt;/P&gt;&lt;P&gt;Guessing a PanOS upgrade might just resolve the issue.&lt;/P&gt;&lt;P&gt;-Kim.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;-Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 17:21:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/lookup-url-in-custom-categories/m-p/15766#M11527</guid>
      <dc:creator>kiwi</dc:creator>
      <dc:date>2013-01-16T17:21:54Z</dc:date>
    </item>
  </channel>
</rss>

