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

Discussions

Backup Using Powershell

add-type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest request, int certif

...

minow by L4 Transporter
  • 2374 Views
  • 1 replies
  • 1 Likes

Resolved! API - Security Rule Syntax

Version: PAN-OS 8

 

Hi all,

 

I am attempting to create new security rules in Panorama, but keep getting a response that says a schema node cannot be found

 

I have the following code in a PS function, where $Name is my intended rule name, and $DeviceAddre

...

Can't get src.user field via API.

In the below code - I"m using the API to query the URL logs. It works great. 

 

What isn't returning though is the src.user field, if it's mapped. How can I get this value? Do I need to do a separate query? 

 

JP

 

# Build PAN API Connection and get token ...

punkrokk by L0 Member
  • 938 Views
  • 0 replies
  • 0 Likes
Top Liked Authors