Skip to content

Fix code scanning alert no. 8: Database query built from user-controlled sources #1144

Fix code scanning alert no. 8: Database query built from user-controlled sources

Fix code scanning alert no. 8: Database query built from user-controlled sources #1144

Triggered via pull request September 28, 2024 12:06
Status Failure
Total duration 2m 50s
Artifacts

dev.yml

on: pull_request
migrate-boltdb
0s
migrate-boltdb
migrate-mariadb
0s
migrate-mariadb
migrate-mysql
0s
migrate-mysql
migrate-postgres
0s
migrate-postgres
integrate-boltdb
0s
integrate-boltdb
integrate-mariadb
0s
integrate-mariadb
integrate-mysql
0s
integrate-mysql
integrate-postgres
0s
integrate-postgres
deploy-server
0s
deploy-server
deploy-runner
0s
deploy-runner
Fit to window
Zoom out
Zoom in

Annotations

2 errors
build-local: db/sql/SqlDb.go#L501
cannot use squirrel.Expr("pe." + orderColumn + " " + orderDirection) (value of type squirrel.Sqlizer) as string value in argument to q.OrderBy
build-local
Process completed with exit code 201.