VMware: Fix for vmware-get-events returning no results when user argument is missing
Contributing to Cortex XSOAR Content
Make sure to register your contribution by filling the contribution registration form
The Pull Request will be reviewed only after the contribution registration form is filled.
Status
- [x] In Progress
- [ ] Ready
- [ ] In Hold - (Reason for hold)
Related Issues
relates: link to the issue
Description
This pull request fixes an issue in the VMware integration where the vmware-get-events command returned no events when the user argument was omitted or blank. The argument-handling logic has been updated to correctly treat missing or empty values as None, ensuring expected event retrieval behavior.
Additionally, a new unit test was added to validate the behavior of get_events when the user argument is not provided, preventing regressions.
Release notes have been included accordingly.
Must have
- [X ] Tests
- [ ] Documentation (not required; no user-facing changes)
Thank you for your contribution. Your generosity and caring are unrivaled! Make sure to register your contribution by filling the Contribution Registration form, so our content wizard @merit-maita will know the proposed changes are ready to be reviewed. For your convenience, here is a link to the contributions SLAs document.
Hi @doctorruin, thanks for contributing to the XSOAR marketplace. To receive credit for your generous contribution please follow this link.