timesketch
timesketch copied to clipboard
Improve analyzer result querying performance
The analyzer results are currently requested per timeline when a sketch is loaded. This results in some scaling issues when working with a sketch that has many timelines.
This PR improves the loading performance by adding a new API endpoint that returns only the latest analyzer session for each timeline and analyzer on a given sketch.
- Adding a
LatestAnalyzerSketchResource
API endpoint. - Load analyzer results via the new API endpoint
- Fixing a small front-end bug