Open LaurenceJJones opened 1 week ago
@LaurenceJJones: Thanks for opening an issue, it is currently awaiting triage.
In the meantime, you can:
@LaurenceJJones: There are no 'kind' label on this issue. You need a 'kind' label to start the triage process.
/kind feature
/kind enhancement
/kind refactoring
/kind bug
/kind packaging
Currently when a user requests an endpoint that does a SQL query the underlying context that is passed is the context of the database client, however, if the user cancels the request the SQL query is not abandoned.
https://github.com/crowdsecurity/crowdsec/blob/4521a98ecc34cf4beeee653f1eb5914f1879f42d/pkg/apiserver/controllers/v1/alerts.go#L278C22-L293
This may be something we want to aim for LAPI v2 as it might be a big refactor