on 03-22-2021 10:08 AM - edited on 05-03-2021 02:19 PM by abarone
This quickplay solution includes a set of scripts and skillets to quickly query the NGFW to determine inbound open policy ports/applications, domain categories, and URL categories.
Below is a quick summary of each of the scripts.
Playing this solution requires:
Documentation: https://github.com/PaloAltoNetworks/panos-query-scripts/blob/main/README.md
Github Location: https://github.com/PaloAltoNetworks/panos-query-scripts.git
Github Branches: main
Product Versions Supported:
The quickplay scripts and skillets use the NGFW API to gain insights about inbound policy configuration and cloud service category mappings.
PAN-OS includes the capability to use CLI commands and the web UI to leverage the NGFW as a proxy into the cloud service layer to get category mappings for URLs and DNS domains. The CLI commands include:
test dns-proxy dns-signature fqdn {domain-to-test}
test url {url-to-test}
The quickplay solution utilizes these commands through the API to read a list of domains or URLs to determine their category and output the results to screen and as a csv file for additional data analysis.
Provides a quick configuration analysis using the API to find security policies with destination of 'any' and a user input zone. The output shows the security policy name and associated services/ports and applications.
This provides quick insights regarding the NGFW attack surface where traffic is allowed from high risk zones such as the internet.