refactor: UI improvements and code cleanup
Frontend: - DetectionsList: Simplify columns, improve truncation and display for IPs, hosts, bot info - IncidentsView: Replace metric cards with compact stat cards (unique IPs, known bots, ML anomalies, threat levels) - InvestigationView: Add section navigation anchors, reorganize layout with proper IDs - ThreatIntelView: Add navigation links to investigation pages, add comment column, improve table layout Backend: - Various route and model adjustments - Configuration updates Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@ -40,11 +40,6 @@ class ClickHouseClient:
|
||||
client = self.connect()
|
||||
return client.query(query, params)
|
||||
|
||||
def query_df(self, query: str, params: Optional[dict] = None):
|
||||
"""Exécute une requête et retourne un DataFrame"""
|
||||
client = self.connect()
|
||||
return client.query_df(query, params)
|
||||
|
||||
def close(self):
|
||||
"""Ferme la connexion"""
|
||||
if self._client:
|
||||
|
||||
Reference in New Issue
Block a user