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

Discussions

Intermittent error using XML Api

Sometimes I will get the following error:

<response status="error"><result><msg>Authentication failed: Invalid username or password </msg></result></response>

while using the XML Api and the "type=config&action=set&key=" parameters. Always, if I mannua

...

mjessee by Not applicable
  • 2240 Views
  • 3 replies
  • 0 Likes

Resolved! Add shared Object in REST API

I am running code verion 4.0.7 and am trying to create a new shared address, then add that address to a shared address-group.  Since I am not running 4.1, I don't have the API browser and my attempts at guessing the correct path have failed.  Any hel

...

rays1 by L1 Bithead
  • 2596 Views
  • 4 replies
  • 0 Likes

Capturing and logging dot1x traffic

Hi everyone,

I am looking to capture some dot1x traffic. The goal would be to simply log the dot1x under a custom application.

The problem is i dont see a context that I can use for the dot1x traffic (screenshot) under the application signature  to be

...

Resolved! Any VBScript Experts out there?

We're working on a Aruba VIA VPN project, and I want to use the Palo Alto User-ID API to record the usernames of the logged in users without having them go through the captive portal.

This document looks like it would work really well for my purpose (

...

mharding by L4 Transporter
  • 2617 Views
  • 4 replies
  • 0 Likes

PanOS 4.1 and Commits via XML API

I upgraded to PanOS 4.1 and noticed I could no longer make commits via the XML API. Seems like maybe the syntax has changed but I can't find any documentation. When I execute the query below either by script or browser I'm returned with '500 Internal

...

dev2rama error

After issuing a the set .sh command we recieve an error when pushing the policy to panorama.

/config/devices/entry[@name='localhost.localdomain']/device-group/entry[@name='DG1']/pre-rulebase/security ../templates/dev2rama//set/12_security-rules.xml
Exe

...

tonyh by L0 Member
  • 2374 Views
  • 4 replies
  • 0 Likes

Expect Scripts

I see there are a couple of Expect scripts on the PA support site. 1 of them can be used to automate config changes. However, the doc does not explain how to use them. Do the scripts run on a host PC or on the PAN device? How specifically do I get th

...

TomH by L1 Bithead
  • 1964 Views
  • 1 replies
  • 0 Likes

Resolved! API & Custom reports

Hi,

I want to change my custom reports time frame just before executing them, using the XML API.

Here is how I proceed:

  1. Modify the <start-time> and <end-time> using a "action=edit" API request
  2. Pull the results out my report with a "type=report&reporttype
...

adeboss by Not applicable
  • 2550 Views
  • 3 replies
  • 0 Likes

Resolved! User reports via API?

I have been able to create a new user report via the API, but have not found a way to run the report and retreive the generated pdf.  Is this completely beyond the bounds of the API?

The reason I am trying to do this is because we have two separate us

...

Top Solution Authors
Top Liked Authors