You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you use the Uber Class to call the new GetVulnerabilities operation, you will be returned an empty dataset if you provide IDs using the ids keyword. If you provide a body payload, this operation performs as expected.
To Reproduce
Create an instance of the Uber Class, create a list of IDs by calling QueryVulnerabilities, and then provide these IDs to the GetVulnerabilities operation using the ids keyword.
Expected behavior
You should be returned a valid dataset similar to what is produced by the Intel Service Class or when you provide IDs using the ids keyword.
Environment (please complete the following information):
OS: All Supported
Python: All supported
FalconPy: 1.2.6 - 1.2.7
Additional context
This is a POST operation. ids provided to the Uber Class are not being migrated over to the body payload before the API request is made.
Please note: You can work around this issue by providing a full body payload to the Uber Class using the body keyword.
Caused by this operation ID not being added to the PREFER_IDS_IN_BODY constant.
Thanks go out to @tsullivan06 for identifying this issue!
The text was updated successfully, but these errors were encountered:
Describe the bug
If you use the Uber Class to call the new
GetVulnerabilities
operation, you will be returned an empty dataset if you provide IDs using theids
keyword. If you provide abody
payload, this operation performs as expected.To Reproduce
Create an instance of the Uber Class, create a list of IDs by calling
QueryVulnerabilities
, and then provide these IDs to theGetVulnerabilities
operation using theids
keyword.Expected behavior
You should be returned a valid dataset similar to what is produced by the Intel Service Class or when you provide IDs using the
ids
keyword.Environment (please complete the following information):
Additional context
This is a POST operation.
ids
provided to the Uber Class are not being migrated over to thebody
payload before the API request is made.Caused by this operation ID not being added to the
PREFER_IDS_IN_BODY
constant.Thanks go out to @tsullivan06 for identifying this issue!
The text was updated successfully, but these errors were encountered: