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

Xpath for the server profile syslog

I'm building a script to keep a device up to date with the rules we are using at our production site. I've found most of the xpath locations I need with the API explorer except one is elluding me. In the web ui configuration it is: Device->Server Profiles->syslog What's the xpath? I thought maybe it would be /config/devices/entry[@name='...

Ntripp by L1 Bithead
  • 2351 Views
  • 1 replies
  • 0 Likes

Automation / self-service success stories or information?

Hello! I work at a large company that has a hybrid workload split between AWS and our datacenters, with dedicated connectivity between AWS and on-prem resources. We use NGFW's on the datacenter end with a default-deny policy for everything. Our firewall change process includes a weekly change management meeting with a whole bunch of approvals, a...

jantman by L0 Member
  • 4388 Views
  • 3 replies
  • 1 Likes

Resolved! Creation of a pre rules containing a tag with api

I want to create au pre rules with api:action=set&xpath=/config/devices/entry[\@name='localhost.localdomain']/device-group/entry[\@name='".$deviceGroup."']/pre-rulebase/security/rules/entry[\@name='".$preRulesName."']And i want to put a tag:<tag><member>texte</member></tag> But i have an error: ...

mugude by L1 Bithead
  • 3070 Views
  • 2 replies
  • 0 Likes

API to run user activity report

I need to generate a UAR for multiple users and wish to automate it. I can script the creation of report, and I can use the API to schedule the report: https://(firewallname)/api/?type=op&cmd=<schedule><uar-report><title>test3</title><user-group>tdc\palo alto networks test reporting</user-group></uar-re...

Resolved! filter on request for pre-rulebase/security/rules

Is it possible to add filter on a request, i want to get pre-rulebase security rules which contains a key word, do this:type=config&action=get&xpath=/config/devices/entry[\@name='localhost.localdomain']/device-group/entry[\@name='deviceGroupName']/pre-rulebase/security/rulesAnd in result i only want rules which contain "test" for example

mugude by L1 Bithead
  • 2811 Views
  • 1 replies
  • 0 Likes

Ansible installation: No action detected in task

I've installed Ansible on Ubuntu. playbooks referencing panos modules do not work. They fail with the message "ERROR! no action detected in task". Here's an example: --- - name: My First Test connection: local gather_facts: False hosts: localhost tasks: - name: check if ready panos_check: ip_address: "10.0.0.99" ...

Panorama Plugins

hey Panorama 8 inroduces Plugins.does any one have information about how to create tham?i will appriciate more information about it. thanks

minow by L4 Transporter
  • 2905 Views
  • 2 replies
  • 0 Likes

Ansible - AWS and PANW

Hello everyone, i have just started to learn about ansible, and i have a big black cloud in my head about one thing.Let's supose that i already have a Firewall in my AWS environment and i need to setup ansible to identify new EC2 instances and configure the Firewall automatically, in other words, on theory, how will it work? I know that ansible ...

Resolved! REST API to update Panorama Servers in Firewall

Hi all I wonder can anyone offer some insight, I am trying to write a script to update all of the panorama server settings on a given list of firewalls. That's all fine but I am having an issue with the actual rest api - I used debug CLI output to determine the syntax in order to build the command and it looks right according to the guides I've ...

Issue with Curl using API URL

Hello Team, I am trying to download feeds using Curl script and below API Url but receiving only IP address information, not confidence value and source information. https://minemeld/feeds/feed1?tr=1&v=csv&f=indicator|clientip&f=confidence&f=sources|feeds Does anybody have faced such issue?

Play-book Missing required libraries

My play fails when i include an inventory with an output message:"msg": "Missing required libraries."This works okay when I passe the hosts details as a variable from var.yml to my playbook. Not sure what Is wrong but I am testing with the example playbooks in the Git repository.

Rename zone in security policy through xml api

Hi all, I'm trying to programatically rename security zone via xml api. Here's a scenario:1. Device currently has 5 zones: trust, untrust, dmz, lvl1, lvl22. There are 500+ policies where <<trust>> appears as source zone member or destination zone member (there can be multiple src or dst zone members as well, e.g: from: trust, lvl2, ...

KostiM by L2 Linker
  • 5470 Views
  • 5 replies
  • 0 Likes
  • 1031 Posts
  • 68 Subscriptions