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 get WF verdicts for URLs

I’ve been able to successfully submit files for analysis and file hashes for verdicts, that works fine, but I am now trying to submit a URL for a verdict, instead of a file. So I send this:

 

Submit Google Link to WF using API

curl -F 'apikey=<apikey>'

...

Please check my xpath for me

Hi I'm creating a new admin role via api but it is not working. Here is my complete request:

 

 

https://192.168.10.1/api/?type=config&action=set&xpath=/config/shared/admin-role/entry[@name='test_name']/role/device/xmlapi<config>enable</config>&key=myke...

ffadhil by L0 Member
  • 3232 Views
  • 1 replies
  • 0 Likes

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 P

...

Ntripp by L1 Bithead
  • 1854 Views
  • 1 replies
  • 0 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><mem

...

mugude by L1 Bithead
  • 2471 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\

...

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']/pr

...

mugude by L1 Bithead
  • 2234 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: loc

...

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
  • 2378 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 config

...

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 de

...

  • 1034 Posts
  • 70 Subscriptions
Top Liked Authors