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

Duplicating a rulebase for App-ID adoption

Hi, For App-ID adoption in a pretty critical environment, we would like to duplicate each and every rule right above itself. Not a duplication of the entire rulebase above or below the rulebase. This would make it easier to compare the app-id rule with the non-app-id rule, allowing a riskless app-id migration.What would be an efficient way to do...

Arne-VDH by L3 Networker
  • 2408 Views
  • 1 replies
  • 0 Likes

Delete URL from URL Category using api

I'm wanting to be able to delete specific URLs from Objects -> Custom Objects -> URL Category using the api. I have refered to an existing post here that offers a solution however, I am getting an error when I run the command. My command running on PAN OS 6.1.9 is: panxapi.py -d "/config/devices/entry/vsys/entry[@name='vsys1']/profiles...

LeighV by L1 Bithead
  • 2369 Views
  • 1 replies
  • 0 Likes

XML tags

I would like to get xml data and put it into database. Unfortunately data is in tags not valuesand I dnon't know what data it is. For example<virtual-wire /> instead of <interface-type>virtual-wire</interface-type>Is it possible to change xml output?

mirekum by L0 Member
  • 1594 Views
  • 0 replies
  • 0 Likes

Script to pull Logs of +/- 1 minute for beacon detection

Hello Community, I am looking for some recommendations on how to review beacon detection. There is a lot of manual work being done to review each beacon detection. We seem to be finding it mostly as malware-advertisements from different web pages. I thought a way to speed this up is to have a process that pulls +/-1 minute worth of logs whe...

‘HTTP/1.1 406 Not Acceptable’ response from API when using CURL

I am running curl against the API URL where I have VM-1000-HV PAN (7.0.1) and getting ‘HTTP/1.1 406 Not Acceptable’ response (see output below). The same URL works fine in the browser (just copied and pasted to Chrome), so it is correct. $ curl -v --insecure "https://10.95.2.234/esp/restapi.esp?type=op&cmd=<show><running><re...

niuk by L3 Networker
  • 3266 Views
  • 1 replies
  • 0 Likes

Please let me know more detail about API error code 22

Hello Support, I would like to know exact meaning about "session timed out" The information for HA state was requested by Linux machine through wget. but, it had received error code from paloalto. paloalto could not response for API query at that time? Is it right? why does this error occur? Thank you. Regards, Dongkwan

Create a new IP address on a specific interface

I would like to create a new IP address on an interface with xml api. I tried different requests but no one worked. I tried to use config set wiht the xpath which ended to [@name='interface']/ip and after &element=<ip><entry name="x.x.x.x/x"/></ip> and similar settings but the response is always '406 Not Acceptable'.

Error when editing Prefirewall Rules related to descriptions value

When attempting to edit prefirewall rules I am reciving the below error. Message: Error returned from Palo Alto Backend status: 18, Message: Malformed Request. If I remove the description tags from my xml the edit is succesful. The error is not very much help and I unable to determine what is in my descriptions that might be causing this. Can s...

keanesf by L0 Member
  • 1746 Views
  • 0 replies
  • 0 Likes

Report on number of Proxy IDs used against the threshold that are assigned to a Tunnel

Can an API script be created to report on the amount of proxy ids assigned to the tunnel? I have a case (case#00449370) where customer wants a report on the number of zones, NAT rules, Proxy IDs, etc that are currently used against the threshold. They were able to script a report on the number of tunnels, but not on proxies assigned to the tun...

msyiem by L0 Member
  • 2205 Views
  • 1 replies
  • 0 Likes

How Can I see disk raid environment via API from 5000 Series?

Hello. I would like to see raid environment via API even though Disk-raid appears from the API web, I cannot get information. The error came out that <response status="error"> <msg> <line>An error occured. See dagger.log for information.</line> </msg> </response> I would you guys like to run ap...

John_Lee by L2 Linker
  • 2097 Views
  • 1 replies
  • 0 Likes
  • 1031 Posts
  • 68 Subscriptions