Skip to content
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

[SOAR-18367] Updating Get Agent Details action (SI) #2984

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

rmurray-r7
Copy link
Collaborator

@rmurray-r7 rmurray-r7 commented Dec 5, 2024

Proposed Changes

Description

Regarding an issue the customer has experienced, when executing the action (get_agent_details) and no data is returned, a Plugin Exception is raised (when it shouldn't be as the action technically ran successfully) instead of returning an empty dictionary. This failure interrupts customers workflows (and returning an empty dictionary is also used in the majority of other actions).

Describe the proposed changes:

  • Update get_agent_details action to allow for an empty result to be returned
  • SDK bump to 6.2.2

Testing

Unit Tests

Update the unit test to reflect action change:
image

@rmurray-r7 rmurray-r7 self-assigned this Dec 5, 2024
@rmurray-r7 rmurray-r7 merged commit 9ad5f01 into develop Dec 6, 2024
11 checks passed
@rmurray-r7 rmurray-r7 deleted the soar_18367_agent branch December 6, 2024 12:54
rmurray-r7 added a commit that referenced this pull request Dec 6, 2024
* Updating Get Agent Details action

* black
rmurray-r7 added a commit that referenced this pull request Dec 9, 2024
* Updating Get Agent Details action

* black
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants