google / timesketch

Collaborative forensic timeline analysis
Apache License 2.0
2.52k stars 577 forks source link

API returns 404 #3092

Closed jkppr closed 1 month ago

jkppr commented 1 month ago

Describe the bug With release 20240508 Timesketch started to return a 404 error when calling the active analyzers API endpoint resulting in an error every few seconds.

The problem seems to be with the client requesting GET /api/v1/sketches/[object%20Object]/analyzer/sessions/active/ which does not exist. Before PR #3058 this returned an empty 200, but with the new release a wrong path will return 404 as expected.

To Reproduce Steps to reproduce the behavior:

  1. Start an analyzer on your timeline
  2. Open the dev console
  3. Wait a moment and see the error pop up

Expected behavior The API call should not fail and should actually call the right sketch ID and not [object%20Object].