SigNoz/signoz
Ver no GitHubMove db calls to prepared statements with context
Open
#1.353 aberto em 4 de jul. de 2022
backendgood first issue
Métricas do repositório
- Stars
- (16.037 stars)
- Métricas de merge de PR
- (Mesclagem média 5d 22h) (224 fundiu PRs em 30d)
Description
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.