Back to Support

Palo Alto Networks device guide

Palo Alto Networks PAN-OS

Configure PAN-OS firewalls for Lens discovery and read-only XML API or CLI evidence collection.

Prerequisites

  • The Lens agent can reach the firewall management interface over HTTPS and UDP 161; SSH is required only for an approved fallback.
  • A dedicated administrator with the minimum read permissions needed for API evidence collection is available.
  • An API key is generated for that account and has a defined rotation policy.

Required configuration values

Record the firewall management address, SNMP credential, and API key in the Lens agent setup UI. Allow API and SNMP only from the agent host or management subnet. Use HTTPS and set a finite API-key lifetime where policy permits.

Configure the device

Replace LENS_READONLY before pasting. Commit the candidate configuration after reviewing it. Limit inbound SNMP and API access to the Lens agent on the management-interface profile or a permitted-IP administrator profile.

configure
set deviceconfig system snmp-setting access-setting version v2c snmp-community-string LENS_READONLY
commit

Create a dedicated read-only PAN-OS administrator, set its permitted IP address to the Lens agent, generate an API key for that account, and configure the API-key lifetime. Enter the API key and SNMP community in the Lens agent setup UI.

Validate collection

Lens should inventory the firewall and collect system information, interfaces, routes, system-log evidence, and a sanitized running configuration through the API.

Troubleshooting

Run show deviceconfig system snmp-setting to confirm the configured community. Check the management-interface profile, HTTPS reachability, API-key lifetime, and administrator role before expanding permissions.

Vendor references

Emberix

Emberix builds affordable SaaS tools for the small and mid-sized businesses other platforms ignore. Lens brings network management, assessment, and attack-surface visibility to MSPs and direct customers.

Built by people who've run MSPs

© 2026 Emberix. Built for MSPs, their clients, and direct customers alike.

Lens is an Emberix product. Verto, our billing and client-engagement platform for consultancies, is available separately at vertobill.com.

MSP-first