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

Address group - addresses addition using API

Dear Team, We have been following the api's provided in documentation and we are stuck where the address created automatically, cannot be added to the address group but the possibility that was seen is only for PUT methods which will overwrite the ex

...

Deleting interface + dhcp relay using ansible

Hello,

Versions in use:

ansible 2.9.22
pan-python==0.19.0
pandevice==0.14.0
panos firewall 9.1.10

I have created a playbook that adds a DHCP relay element and now i need to do the delete the DHCP relay and haven't found the way.
This is the playbook for add

...

batchenr by L1 Bithead
  • 2321 Views
  • 2 replies
  • 0 Likes

Resolved! Paramiko doesnt get any data

Im using python3 with Paramiko 2.10.3 on a palo alto version 9.1.10

I created this python script:

def connect_SSH(): ssh_client = paramiko.SSHClient() ip='10.x.x.x' port=22 username='someuser' password='somepassword' ssh_client.
...

batchenr by L1 Bithead
  • 4404 Views
  • 5 replies
  • 0 Likes

HIP Report not found via API

Hey guys, i'm having a weird issue when trying to extract HIP Reports via the API.
I'm using the following API endpoint to extract HIP Reports:

https://<FIREWALL_IP>/api?type=op&cmd=<show><user><hip-report><computer>HOSTNAME</computer><ip>IP_ADDRESS</i...

nirkain by L0 Member
  • 1632 Views
  • 1 replies
  • 0 Likes

Querying for Detailed HIP Report on XML API

Hi all,

 

I am wondering if anyone has found a way to query the XML API to get a HIP report back.

All I am able to retrieve with the following call is an XML formatted version of the data you can find in the HIP match log, but not the HIP report you can

...

API Calls override password

Hi,

I have a network template contains information for SNMP and SNMP trap configuration. This network template is associated with multiple template-stack with appliances assigned to them. I created a PowerShell script which grabs the SNMP and SNMP tra

...

sanmakai by L0 Member
  • 1616 Views
  • 1 replies
  • 0 Likes

API Connectivity to PAN-DB

Hello. I have a customer asking whether API connectivity for automated URL category queries from a different vendor appliance is possible (specifically Swimlane). 

 

I haven't been able to find much in general on API URL queries, let alone from differe

...

Not able to create an Address Object using postman

Hi!

I'm using Postman to create an address object using Rest API.

This is what I'm posting:

*https://10.46.169.141/restapi/v9.1/Objects/Addresses?name={{"My-Address"}}&location=vsys&vsys=vsys1

 

This is my body:

{
    "entry": {
        "@name": "My-Address"
...

sconejo by L0 Member
  • 1653 Views
  • 1 replies
  • 0 Likes

CSR export via XML API

I am trying to export a CSR via XML API as per this article and as per /debug output that I get when I perform the export via Web UI.

 

The request I run is as follows:

https://<fw-address>/api/?type=export&category=certificate&certificate-name=<cert-na...

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