PaloAltoNetworks / panhandler

Panhandler is a tool to manage config snippets and Skillets for PAN-OS devices
Apache License 2.0
41 stars 19 forks source link

FR: Add ability to capture lists using output capturing #81

Closed nembery closed 5 years ago

nembery commented 5 years ago

Currently can only capture a single text value from data returned from REST, python, templates, etc. Should extend this to allow capture of all items. For example, all interfaces, all zones, all security rule names, etc

nembery commented 5 years ago

Example .meta-cnc.yaml can be found here: https://raw.githubusercontent.com/nembery/Skillets/experimental/kitchen_sink/rest_show_interfaces/panos/.meta-cnc.yaml

nembery commented 5 years ago

and example json path expression to capture a list from JSON output can be found here: https://github.com/nembery/Skillets/blob/experimental/kitchen_sink/rest_show_addresses/panos/.meta-cnc.yaml