Automation/API Discussions

Threads in this discussion area are now read-only. If you have a question about Automation/API products please visit our product discussions.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Automation/API Discussions

Threads in this discussion area are now read-only. If you have a question about Automation/API products please visit our product discussions.

About Automation/API Discussions

Threads in this discussion area are now read-only. If you have a question about Automation/API products please visit our product discussions.

Discussions

Listing all of vulnerability or phone-home signature

I created a script that shows all vulnerability or phone-home signature with CSV format.

Python and some modules are required but you can run on Mac(Mountain Lion) without installing additional module.

This may help when you want to list default action

...

tmyzw by L2 Linker
  • 4019 Views
  • 3 replies
  • 0 Likes

RegEx for non-delimited SSNs

Using the built-in non-delimited SSN data pattern generates too many false positives to be useful for us.  I therefore want to build a regex that will accomplish the same thing.  It appears that the regex engine in the Palo Alto is very limited in wh

...

tspaby by L0 Member
  • 2409 Views
  • 1 replies
  • 0 Likes

QoS stats via XML

Hello,

I was wondering if anyone has had luck retrieving QoS statistics via the XML API?

I am trying to find the equivalent of this CLI command:

andrew@PA-5050> show qos interface ethernet1/13 throughput 0

  Class 1              0 kbps

  Class 2          

...

redesfuji by Not applicable
  • 3329 Views
  • 3 replies
  • 0 Likes

Upload Config to Palo with API

Hi all,

I am not really in touch with API or thing like that, maybe someone can help 

I am using wget command and API for backuping my palo config. It works ....

But how can I do if I would like to re upload this config to another palo ? think there is

...

VinceM by L5 Sessionator
  • 2403 Views
  • 2 replies
  • 0 Likes

Resolved! XML User API (using wget)


Hi everyone

customer requested me for User XML

The device is 5.0.4 and There is no need to middleway server

PAN 5.0.x can receive restAPI directly

I do not make program properly

so I thought that I utilzed wget software

My labtop enviroment is Windows 7

The

...

Resolved! XML User API (using wget)~


Hi everyone

customer requested me for User XML

The device is 5.0.4 and There is no need to middleway server

PAN 5.0.x can receive restAPI directly

I do not make program properly

so I thought that I utilzed wget software

My labtop enviroment is Windows 7

The

...

GET VS POST

So I am trying to use the API to upload a custom-url-category, and my problem is that I have exced the length restriction of a HTML GET, So I tried doing a HTML PUT.

curl --insecure --form "type=config" --form "action=edit" --form "xpath=$xpath" --for

...

FTP Session Content Logs

Hi Guys,

I'm quite new to PAN so please excuse my ignorance.. So far I'm very impressed with the content analysis and the in depth reporting it gives me on a network.

One thing I really like is that I can drill down into a specific users web-browsing s

...

Error Generating API Key on PA-2020 with PAN 4.1.7

I am trying to generate an API key on a PA-2020 running software version 4.1.7.

I have tried using the default admin user and also an admin user with read-only access specifically created for API.

in both cases i get the message:

<response status="error

...

ssala by Not applicable
  • 2931 Views
  • 3 replies
  • 0 Likes

Importing rulebase into Excel using XML API

Hi,

i am having an issue with importing the rules base into excel using the XML API.

the query i am using is: https://hostname/esp/restapi.esp?type=config&key=keyvalue&action=show&xpath=devices/entry/vsys/entry[@name='vsys1']/rulebase/security/rules

I u

...

ssala by Not applicable
  • 2750 Views
  • 3 replies
  • 0 Likes

Vulnerabilities database export

Hi,

How is it possible to export to xml  (or any other format?) the full list of vulnerabilities with their fields: CVE, risk, category, etc... supported in PA device?

I was hoping to do it with the rest api or alternatively retrieve the updated list f

...

  • 1034 Posts
  • 71 Subscriptions
Top Liked Posts
Top Liked Authors