content icon indicating copy to clipboard operation
content copied to clipboard

VMware: Fix for vmware-get-events returning no results when user argument is missing

Open doctorruin opened this issue 1 month ago • 3 comments

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)

doctorruin avatar Nov 25 '25 12:11 doctorruin

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 25 '25 12:11 CLAassistant

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.

content-bot avatar Nov 25 '25 12:11 content-bot

Hi @doctorruin, thanks for contributing to the XSOAR marketplace. To receive credit for your generous contribution please follow this link.

content-bot avatar Nov 25 '25 12:11 content-bot