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: 
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

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 0 kbps Class 3 0 kbps Class 4 728158 kbps Class 5 502 k...

redesfuji by Not applicable
  • 4261 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 a wput commande but ... if someone have an exemple ....V.

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

Resolved! XML User API (using wget)

Hi everyonecustomer requested me for User XMLThe device is 5.0.4 and There is no need to middleway serverPAN 5.0.x can receive restAPI directlyI do not make program properlyso I thought that I utilzed wget softwareMy labtop enviroment is Windows 7There is simple wget.exe[win] in internet sitehttps://172.16.0.1/api/?type=keygen&user=admin&amp...

Resolved! XML User API (using wget)~

Hi everyonecustomer requested me for User XMLThe device is 5.0.4 and There is no need to middleway serverPAN 5.0.x can receive restAPI directlyI do not make program properlyso I thought that I utilzed wget softwareMy labtop enviroment is Windows 7There is simple wget.exe[win] in internet sitehttps://172.16.0.1/api/?type=keygen&user=admin&amp...

Custom Response Page - Blocked URL Re-categorization Request

We are trying to determine if it is possible to have end-users submit URL Re-categorization Requests directly from a custom response page.As of right now, we have a custom response page provides a link to "http://urlfiltering.paloaltonetworks.com/ChangeASite.aspx" When clicked, the page redirects to TestASite.aspx. The user must first do a URL ...

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" --form "element=$element" --form "key=$pkey" "https://$panorama/api/"But, I get 502 Bad Gateway - Does...

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 session and see exactly what file they've downloaded, however, I can not do the same with a simple...

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"><result><msg>Authentication failed: Invalid username or password</msg>&...

ssala by Not applicable
  • 3657 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/rulesI used the following to generate the keyvalue: https://hostname/api/?type=keygen&use...

ssala by Not applicable
  • 3449 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 from a PaloAlto dedicated server if such exists.Thanks,Andrei

Perl Script - Kiwi Syslog

I am confused by the perl script at the end of the UserID API Integration document. This line:$string= Fields.VarCleanMessageText; #Kiwi syslog variable for message text I am not getting anything from this field. What do I have to do to set this up?Thanks.Kevin

How to block phishing links in the email(OWA & Outlook)?

I want to block all phishing coming through there OWA. For eg many phishing sites like " http:/mail.''customer''.com.s-motors.co.uk/owa/auth/logon.aspx?replaceCurrent=1&reason=3&url=https%3a%2f%2fis coming through there mail,they want to block all,except "mail.''customer''.com" How can i do this in PA?

shabeerc by L2 Linker
  • 2303 Views
  • 0 replies
  • 0 Likes
  • 1031 Posts
  • 68 Subscriptions