Howto do a bulk URL category check in PANDB?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Howto do a bulk URL category check in PANDB?

L1 Bithead

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

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

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

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

View solution in original post

3 REPLIES 3

Cyber Elite
Cyber Elite

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

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

L2 Linker

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

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

  • 1 accepted solution
  • 8684 Views
  • 3 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!