Closed dietybright closed 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).
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
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