dainok / netdoc

Automatic Network Documentation plugin for NetBox
GNU General Public License v3.0
84 stars 14 forks source link

Unable to discover Palo Alto FW #103

Closed dietybright closed 8 months ago

dietybright commented 8 months ago

When running discover with admin account, I am getting error as below, Palo Alto FW model 220

Task parameters {'order': 0, 'enable': False, 'command': '', 'platform': 'panw_ngfw', 'protocol': 'default', 'template': 'show system info', 'framework': 'xml', 'supported': True}

Details {'command': '', 'enable': False, 'framework': 'xml', 'order': 0, 'platform': 'panw_ngfw', 'protocol': 'default', 'supported': True, 'template': 'show system info'}

Raw output ERROR CODE 403

Invalid Credential
dainok commented 8 months ago

The error is clear: the user you are using is not able to get API. Pleaase check: https://github.com/dainok/fwadmin/wiki/Firewall-configuration And also check manually if you can use XML API (wget is sufficient).

dietybright commented 8 months ago

Sorry for late, just found out that the password of device on netdoc/discoverable should be API token, not username and password of API access, thank you