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

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=config&action=get&key=mykey=&xpath=/config/devices/entry/vsys/entry/service' What could ...

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 update/reboot/install new software in the automation without unath error code 16. So the vsys con...

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 Key2) I've checked if it runs in my browers without credentials https://<myserver>/api/?type=config&action=show&key=mykey=&xpath=/config/devices/entry/vsys/entry/rulebase/security ant the result is an XML wi...

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 snippet : (indentation is correct)root# vi PAoutTest.py#!/usr/bin/pythonimport paramikoimport tim...

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

sending user-id logon/logoffss to firewall via PAN-perl

Hi everyone,Can anyone advise how the PAN-Perl module can be used in per scripts to send user-id mappiungs directly to the firewall? In reading the module, the PAN-Perl module (PAN::XAPI) seems to include every restull api type, except user-id and so I don't seem to be able to send an "action='user-id', xpath= ...user-id xml..." it's not listed...

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 the request to come across properly https://10.191.136.7/api/?type=config&action=set&key=...

BPry by Cyber Elite
  • 3713 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? /api/?type=config&action=get&xpath=/config/devices/entry[@name='localhost.localdomain']/v...

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

Custom Signature Request for Recent Malicious Healthcare Activity (Per FBI)

Hello, we received the following from the FBI. Can you help us create a custom signature? ThanksSethThere is a snort signature for this...alert tcp any any -> any any (content:"|6E|"; depth: 1; content:"|36 36 36 58 36 36 36|"; offset: 3; depth: 7; msg: "Beacon C2"; sid: 1000000001; rev:0) UNCLASSIFIED FBI FLASH FBI Liaison Alert System #A-00...

SethF by L0 Member
  • 3706 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 firewall1- I have multiple interfaces configured with multiple zones/VR's2- I need to test access to couple of destinations on a specific port3- I am trying to use the any command in there but it r...

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 not only run them but also export them to a pdf through the api?

BPry by Cyber Elite
  • 1946 Views
  • 0 replies
  • 0 Likes
  • 1031 Posts
  • 68 Subscriptions