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
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.