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

How to make a basic XML API Request using C#

Hello, 

 

I'm trying to learn how to use the API with a C# Client.

 

I'm able to make a API request, using a web browser, but can someone, give me an example in C#.

 

So if I wanted to use this example:

 

Make a call to get system information, which returns

...

Resolved! Some services dont appear in API Request

I've downloading the different services that I've configured into my firewall but for example service-https doesnt appear in the file but yes in the firewall

 

The request that I made is the following.

 

curl -o filename 'https://mifirewall/api/?type=con

...

unauth only on some configuration

I am new to the palo world and this is my first post here 

 

But I am automating the azure palo vm and facing issues I cannot resolve. I have a set of configs where some will respond back with unauth while others are successful. Even stranger I can up

...

Credential errors API from remote Server

Good morning,

 

I'm starting to use the API for exporting different reports from a remote server.

 

1) I've generated the API Key

2) I've checked if it runs in my browers without credentials 

https://<myserver>/api/?type=config&action=show&key=mykey=&xpath

...

Paramiko with PaloAlto

Hi There,

 

I am very new to Python scripting and have started to learn through my lab PaloAlto Firewall.

I wrote a basic script to just return me the output of an operational command. This script works on my lab SRX but hangs on the PaloAlto.

 

The code

...

Mohit by L0 Member
  • 5303 Views
  • 2 replies
  • 0 Likes

Resolved! XML API config action 'set'

Okay, I still can't figure this guy out. All the other commands work perfectly fine but as soon as I try to 'set' a new rule I get an error saying that it's malformed. I've looked through all of the documentation that I can find but nothing will get

...

BPry by Cyber Elite
  • 2977 Views
  • 2 replies
  • 0 Likes

Resolved! Create Securit policy with API

Okay so below is what I've been attempting to use for the creation of policies automatically though the API; however when I run it I simply get a Success output and the rule never actually completes. Can anybody tell me where this is missformated? 

 

 

...

BPry by Cyber Elite
  • 2313 Views
  • 2 replies
  • 0 Likes

test security-policy-match command

Trying to utilize the "test security-policy-match" command to accomplish what I normally accomplish on the Cisco ASA using the packet tracer. 

 

On the firewall
1- I have multiple interfaces configured with multiple zones/VR's

2- I need to test access to

...

Gather Custom Reports by API

Does anyone know if there is a way to export the custom reports with the API? I can get them to run with the "type=report&async=yes&reporttype=custom&reportname=Custom Report Name&key" but that just runs them and spits out a job ID. Is there a way to

...

BPry by Cyber Elite
  • 1549 Views
  • 0 replies
  • 0 Likes
  • 1034 Posts
  • 70 Subscriptions
Top Liked Authors