-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add optional timeout for userid register() #377
add optional timeout for userid register() #377
Conversation
🎉 Thanks for opening this pull request! We really appreciate contributors like you! 🙌 |
…on into dev1-20211022
Test the following commands on the FW and here was the resulting API from DEBUG mode. my_fw.userid.batch_start() [2021/11/03 00:37:47] user=772142##### [2021/11/03 00:37:48] user=77214###### |
Update after testing with three scenarios:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The various timeout
params are just strings. So please change the docstrings to just be timeout (string):
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI is still complaining about the docs build also, which is weird...?
There are two more instances where I see timeout/minutes but they are not from my change. Shall I update those as well? @shinmog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
🎉 Congrats on getting your first pull request merged! We here at Palo Alto Networks are so grateful! ❤️ |
## [1.6.0](v1.5.1...v1.6.0) (2021-11-17) ### Features * Add `device.SslDecrypt` ([#375](#375)) ([1361f93](1361f93)) * Add device.CertificateProfileCaCertificate ([afd6b8b](afd6b8b)) * Add optional timeout for userid register() ([#377](#377)) ([e5c3b64](e5c3b64)) * Add policies.DecryptionRule ([#371](#371)) ([0a69264](0a69264)) * Adding device.CertificateProfile ([55159e9](55159e9)) ### Bug Fixes * Correct vartype of DecryptionRule.services ([e708dde](e708dde)) * DecryptionRule.decryption_type paths ([4897fc4](4897fc4))
🎉 This PR is included in version 1.6.0 🎉 The release is available on PyPI and GitHub release
|
Description
Ben Parker 2:39 PM
So this call should actaully support another argument https://pan-os-python.readthedocs.io/en/latest/module-userid.html#panos.userid.UserId.audit_registered_ip
the timeout like argument like https://pan-os-python.readthedocs.io/en/latest/module-userid.html#panos.userid.UserId.audit_registered_ip
Ben Parker 2:40 PM
Here is what the whole API call looks like
Motivation and Context
Need update to XML API call
How Has This Been Tested?
New unit test cases included
Types of changes
Checklist