-
Notifications
You must be signed in to change notification settings - Fork 161
Description
Describe the bug
Using getVulnerabilities, with command (aka: Uber Class API command method), the code requests /spotlight/entities/vulnerabilities/v2?ids=<some_uuid>&ids=<some_uuid>. And i got sometimes the below response :
(empty line here)
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 26 Jul 2024 12:23:47 GMT
Content-Type: application/json
Connection: keep-alive
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Cs-Region: eu-1
X-Cs-Traceid: d3f778c2-5e4a-4dca-a7ed-b91a3217693a
X-Ratelimit-Limit: 6000
X-Ratelimit-Remaining: 5927
Strict-Transport-Security: max-age=31536000; includeSubDomains
Content-Length: 202345
{
"meta": {
"query_time": 0.33359162,
"powered_by": "spapi",
"trace_id": "..."Yes the first line is actually empty (i can see that in Burp proxy). And the code crash, it's like falcon handle this as error 500.
To Reproduce
unfortunately, not reproducible all the time, but i got this several times
Expected behavior
Falcon should handle this or retry the request.
My current workaround is to wait a small amount of time and perform the exact same request.
Environment (please complete the following information):
- OS: ubuntu 22.04
- Python: 3.12
- FalconPy:
3.1.3[EDIT] 1.4.3 [/EDIT]
Additional context
my point is to retrieve all vulnerabilities by device. I got > 38K devices. just to see the amount of ids i provided to each call, I limit it to 50 by the way.
