All Collections
Tines How To
How To Article
Authentication Guides
Palo Alto Networks Firewall Authentication Guide
Palo Alto Networks Firewall Authentication Guide

How to authenticate Palo Alto Networks Firewall for use with Tines

Daniel Stoeski avatar
Written by Daniel Stoeski
Updated over a week ago

To generate an API key you will need the following:

  • The firewall's hostname or IP address

  • The firewall's admin username

  • The firewall's admin password

First, create Palo Alto Networks Firewall credential in Tines

  1. Login to your Tines tenant

  2. Navigate to the team that will be using the API and click "Credentials"

  3. Click "+ New Credential" and select "Text"

  4. Input the values for the Palo Alto Networks Firewall credential

    1. Name: PAN Firewall Admin Password

    2. Description: Optional

    3. Value: Your admin password

  5. Optional

    1. Domains: Ensure this credential can only be used when making HTTP requests to specific domains.

    2. Access: What other teams can also use the API

  6. Click "Save"

Next, generate a Palo Alto Networks Firewall API Key in Tines

  1. Create a new story

  2. Paste the following action onto the storyboard, replace firewall_hostname and <user> with the firewall's hostname and admin username, then run the action

    {"standardLibVersion":"42","actionRuntimeVersion":"6","agents":[{"disabled":false,"name":"Generate PAN Firewall API Key","description":"Created from cURL command","options":"{\"url\":\"https://<<firewall_hostname>>/api/?type=keygen\",\"method\":\"post\",\"content_type\":\"application/x-www-form-urlencoded\",\"payload\":{\"password\":\"<<CREDENTIAL.pan_firewall_admin_password>>\",\"user\":\"<user>\"}}","position":{"x":1995,"y":375},"type":"httpRequest","timeSavedUnit":"minutes","timeSavedValue":0,"monitorAllEvents":false,"monitorFailures":false,"monitorNoEventsEmitted":null,"recordType":null,"recordWriters":[],"form":null,"cardIconName":null,"createdFromTemplateGuid":null,"createdFromTemplateVersion":null,"originStoryIdentifier":"cloud:aa47f8215c6f30a0dcdb2a36a9f4168e:cf6e110a4849cd0f6b69a3d39da8f81a"}],"links":[],"diagramNotes":[]}

  3. Copy the key value from the response:


Lastly, create Palo Alto Networks Firewall credential in Tines

  1. Navigate to the team that will be using the API and click "Credentials"

  2. Click "+ New Credential" and select "Text"

  3. Input the values for the Palo Alto Networks Firewall credential

    1. Name: PAN Firewall API Key

    2. Description: Optional

    3. Value: Your API Key

  4. Optional

    1. Domains: Ensure this credential can only be used when making HTTP requests to specific domains.

    2. Access: What other teams can also use the API

  5. Click "Save"

For more on creating credentials in Tines, click here.

You can find a selection of Palo Alto Networks Firewall stories in the story library

Did this answer your question?