[ BUG ] [ DOC ] NGSIEM API Usage is incorrect #1291
Labels
bug 🐛
Something isn't working
documentation 📖
Improvements or additions to documentation
enhancement 🌟
New feature or request
ngsiem
NGSIEM issues and questions
Documentation page topic
https://www.falconpy.io/Service-Collections/NGSIEM.html?highlight=StartSearch#startsearchv1
Describe the error or typo
Two issues with this page, the first is the doc indicates the only necessary parameter to interact with
StartSearchV1
is repository. Which based on the implementation and test cases appears to be incorrect as it is required in the source code:Link:
falconpy/src/falconpy/ngsiem.py
Line 310 in 2bc405e
Test case:
falconpy/tests/test_ngsiem.py
Line 47 in 2bc405e
The second issue is with
GetSearchStatusV1
, its a similar issue, the documentation appears to indicate the required parameter for polling the API for results isid
, however, it appears the proper parameter issearch_id
.Documentation Link: https://www.falconpy.io/Service-Collections/NGSIEM.html?highlight=StartSearch#getsearchstatusv1
Link:
falconpy/src/falconpy/ngsiem.py
Line 317 in 2bc405e
Test case: https://github.com/CrowdStrike/falconpy/blob/2bc405e6610d822d991cc2253b00b8ba85c11b40/tests/test_ngsiem.py#L59C13-L59C105
Documentation repository:
Additional context
Add any other context about the problem here.
Final issue, it appears
APIHarnessV2
doesn't work at all even when provided the proper parameters. However, I would need more time digging in the source code to figure out why.The text was updated successfully, but these errors were encountered: