Howto do a bulk URL category check in PANDB?

Reply
Highlighted
L1 Bithead

Howto do a bulk URL category check in PANDB?

As we're migrating from proxy to direct internet access, we'd like to cross-check old URL black and white lists against PANDB. I did find the URL to check one site (with captcha) but that will not be very efficient as we have hundreds of entries.

  1. Is there a way to do a bulk check?
  2. Is there a CLI or API command to do a category lookup?

Thanks

Community Manager

Re: Howto do a bulk URL category check in PANDB?

Hi Jean

from the CLI you can do the "test url" command:

> test url www.google.com

www.google.com search-engines (Base db) expires in 0 seconds

www.google.com search-engines (Cloud db)

you can also invoke this command through a REST API call

/api/?type=op&cmd=<test><url>www.yoururl.com</url></test>

unfortunately there is no true bulk url test tool


Help the community: Like helpful comments and mark solutions
Reaper out
L2 Linker

Re: Howto do a bulk URL category check in PANDB?

Hi Jean,

Even if there is way how to do a bulk check of URL, there is a way how to request a bulk re-categorization. You might find this helpful in one point if you are doing this checks.

Here is the link where you can do this: Palo Alto Networks URL Filtering - Bulk Change Request

L6 Presenter

Re: Howto do a bulk URL category check in PANDB?

Hello Jeanvan,

1. There is no in-built command to do bulk check, However you can write your own script to do bulk check with command "> test url <URL>. You need to feed URL from particular Text file to this command. However, to accomplish this its required to have detailed understanding of script languages.

2. There is no existing API/REST

Regards,

Hardik Shah

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!