openclarity / apiclarity

An API security tool to capture and analyze API traffic, test API endpoints, reconstruct Open API specification, and identify API security risks. 
https://apiclarity.io
Apache License 2.0
498 stars 64 forks source link

Only most recent 50 events are saved in API events table #352

Open amccormi opened 1 year ago

amccormi commented 1 year ago

I'm seeing new behavior with APIClarity v0.14.4 - the API events table is only keeping the last 50 events. Prior to 0.14.4, it was keeping many more events. In my test, I ran locust against sock shop APIs and generated over 1000 API calls (see first screenshot for count) but only 50 API events are listed (second screenshot).

Screenshot 2023-05-02 at 4 38 25 PM

Screenshot 2023-05-02 at 4 39 32 PM

If I run more API traffic, 50 new calls are kept, but everything else is gone. This seems like really degraded behavior.

Screenshot 2023-05-02 at 4 40 50 PM

jpgong commented 8 months ago

same problem