SigNoz/signoz

Move db calls to prepared statements with context

Open

#1,353 建立於 2022年7月4日

在 GitHub 查看
 (11 留言) (0 反應) (1 負責人)TypeScript (16,037 star) (976 fork)batch import
backendgood first issue

描述

Move all db calls to prepared statements and specifically with context if possible to make signoz more secure from sql injections. A query should not be a string prepared from fmt.sprintf(...) if it has args to pass. We should try to avoid string formatting for args.

貢獻者指南

Move db calls to prepared statements with context · SigNoz/signoz#1353 | Good First Issue