Skip to main content

Set Up Adaptive Response

Automated Remediation

Use the pantag command to share context from Splunk to the firewall for automated remediation.

Share context with Dynamic Address/User Groups

Tagging an IP address/User means setting metadata or context on the firewall for that IP/User, which causes it to be added to corresponding Dynamic Address/User Groups in the firewall security policy. For example, you could create a rule in the security policy that blocks any IP address with the tag 'bad-actor'. Initially, no IP addresses would be blocked, but you can create a search in Splunk for criteria that represents a problem device, and trigger a tagging of that IP address with the 'bad-actor' tag. The firewall would add the IP address to the Dynamic Address Group in the policy automatically and begin blocking the IP.

Blocking a bad actor is just the beginning, and you aren't limited to allow or deny as your options. You could tag an IP address/User for additional scrutiny by the Threat Prevention engine, or as a known trusted server to be given additional permissions. The behaviors are defined by your security policy, and how you treat IP addresses with specific tags.

See also:

Command reference: pantag

Video from a session at Ignite 2015 explains Dynamic Address Groups in more detail with several use cases including asset management:

Video: Applying Order to Computing Chaos

Configure Adaptive Response

To use Adaptive Response or the custom searchbar commands, please configure the Add-on with credentials for your Firewall or Panorama.

To configure credentials, navigate to the Add-on, click the Palo Alto Networks menu in the top left of the App, and click Configuration.

The credentials name "Firewall" will be used for connection to Firewalls or Panorama

Enter the credentials for your Firewall or Panorama and name the credentials "Firewall". Only one set of credentials can be entered with this name. The credentials are encrypted by Splunk and used for the following features:

Optional: Create a Splunk User on Firewall/Panorama

Optionally, you can create a user for Splunk on the firewall or Panorama, and reduce the user's role to just what is required. The permissions needed depend on which features will be used.

FeaturePermission Needed
Commands: pantag, panuserupdateUser-ID Agent
Alert Action - Tag to Dynamic Address ListUser-ID Agent
Command: pancontentpack with PAN-OS < 8.0Configuration
Command: pancontentpack with PAN-OS >= 8.0Configuration and Operational Requests

Firewall permissions required for App special features