Error running the EDA example
carlosfparada opened this issue · 0 comments
Describe the bug
I am trying to run the EDA example documented in https://github.com/PaloAltoNetworks/pan-os-ansible/blob/develop/docs/source/examples.rst.
I am using the exact code provided and I am getting the following error
on task paloaltonetworks.panos.panos_http_profile_header:
"Failed create: Could not find schema node for xpath /config/shared/log-settings/http/entry[@name='my_profile']/format/decryption/headers\n"
I tried to use other values for log_type parameter (e.g. auth) and it does not raise errors. However, then I cannot capture any event (I was expecting to catch login of users in the firewall). Looking to the EDA plugin code, it seems that the decryption log_type value has a special handling.
Expected behavior
I expect to run the code and capture EDA events.
Current behavior
Error provisioning decryption log_type.
No error for other types, e.g. auth, but no events captured.
Possible solution
Using other log_type did not work either.
Steps to reproduce
Just follow the example steps.
Screenshots
No
Context
Using Red Hat AAP 2.4 and Paloalto Software Version 8.0.0
Your Environment
- Collection: paloaltonetworks.panos v2.17.7
- Python: 3.9
- Ansible: Red Hat AAP 2.4
- PAN-OS Python Library & version (e.g. pandevice 0.14.0, pan-os-python 1.0.2): v8