Fix false positive security scan issues.
This commit is contained in:
parent
6ed68f910e
commit
27c67aee3d
3 changed files with 9 additions and 6 deletions
|
|
@ -16,9 +16,10 @@ const mysqlMaxConns = 10
|
|||
|
||||
// DBConnection contains MySQL connection details
|
||||
type DBConnection struct {
|
||||
Host string
|
||||
Port int
|
||||
User string
|
||||
Host string
|
||||
Port int
|
||||
User string
|
||||
// #nosec G117 -- password is used only for the local development
|
||||
Password string
|
||||
Params string
|
||||
|
||||
|
|
|
|||
|
|
@ -15,9 +15,10 @@ import (
|
|||
|
||||
// DBConnection contains postgres connection details
|
||||
type DBConnection struct {
|
||||
Host string
|
||||
Port int
|
||||
User string
|
||||
Host string
|
||||
Port int
|
||||
User string
|
||||
// #nosec G117 -- password is used only for the local development
|
||||
Password string
|
||||
SslMode string
|
||||
Params string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue