-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ft login 187584915 #23
Conversation
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
10549210 | Triggered | Generic Password | 60ca38d | src/databases/seeders/20240520202759-users.ts | View secret |
10549210 | Triggered | Generic Password | 60ca38d | src/modules/user/test/user.spec.ts | View secret |
10549210 | Triggered | Generic Password | f7afa6d | src/databases/seeders/20240520202759-users.ts | View secret |
10549210 | Triggered | Generic Password | f7afa6d | src/modules/user/test/user.spec.ts | View secret |
10549210 | Triggered | Generic Password | b13cb1a | src/databases/seeders/20240520202759-users.ts | View secret |
10549210 | Triggered | Generic Password | b13cb1a | src/modules/auth/test/auth.spec.ts | View secret |
11093307 | Triggered | Generic Password | 60ca38d | src/modules/user/test/user.spec.ts | View secret |
11093307 | Triggered | Generic Password | 60ca38d | src/modules/user/test/user.spec.ts | View secret |
11093307 | Triggered | Generic Password | b13cb1a | src/modules/auth/test/auth.spec.ts | View secret |
11093307 | Triggered | Generic Password | b13cb1a | src/modules/auth/test/auth.spec.ts | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
production: { | ||
logging: false, | ||
dialect: "postgres", | ||
url: process.env.DATABASE_URL_PRO, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
host: process.env.DATABASE_HOST_DEV, | ||
database: process.env.DATABASE_NAME_DEV, | ||
username: process.env.DATABASE_USERNAME_DEV, | ||
password: process.env.DATABASE_PASSWORD_DEV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
port: process.env.DATABASE_PORT_DEV, | ||
host: process.env.DATABASE_HOST_DEV, | ||
database: process.env.DATABASE_NAME_DEV, | ||
username: process.env.DATABASE_USERNAME_DEV, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
dialect: "postgres", | ||
port: process.env.DATABASE_PORT_DEV, | ||
host: process.env.DATABASE_HOST_DEV, | ||
database: process.env.DATABASE_NAME_DEV, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
logging: false, | ||
dialect: "postgres", | ||
port: process.env.DATABASE_PORT_DEV, | ||
host: process.env.DATABASE_HOST_DEV, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const dotenv_1 = __importDefault(require("dotenv")); | ||
dotenv_1.default.config(); | ||
module.exports = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'module' is not defined.
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const dotenv_1 = __importDefault(require("dotenv")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
'require' is not defined.
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'exports' is not defined.
@@ -0,0 +1,45 @@ | |||
"use strict"; | |||
var __importDefault = (this && this.__importDefault) || function (mod) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a strict mode function is executed using function invocation, its 'this' value will be undefined.
@@ -0,0 +1,45 @@ | |||
"use strict"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the function form of "use strict".
production: { | ||
logging: false, | ||
dialect: "postgres", | ||
url: process.env.DATABASE_URL_PRO, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
host: process.env.DATABASE_HOST_DEV, | ||
database: process.env.DATABASE_NAME_DEV, | ||
username: process.env.DATABASE_USERNAME_DEV, | ||
password: process.env.DATABASE_PASSWORD_DEV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
port: process.env.DATABASE_PORT_DEV, | ||
host: process.env.DATABASE_HOST_DEV, | ||
database: process.env.DATABASE_NAME_DEV, | ||
username: process.env.DATABASE_USERNAME_DEV, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
dialect: "postgres", | ||
port: process.env.DATABASE_PORT_DEV, | ||
host: process.env.DATABASE_HOST_DEV, | ||
database: process.env.DATABASE_NAME_DEV, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
logging: false, | ||
dialect: "postgres", | ||
port: process.env.DATABASE_PORT_DEV, | ||
host: process.env.DATABASE_HOST_DEV, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const dotenv_1 = __importDefault(require("dotenv")); | ||
dotenv_1.default.config(); | ||
module.exports = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'module' is not defined.
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const dotenv_1 = __importDefault(require("dotenv")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
'require' is not defined.
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'exports' is not defined.
@@ -0,0 +1,45 @@ | |||
"use strict"; | |||
var __importDefault = (this && this.__importDefault) || function (mod) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a strict mode function is executed using function invocation, its 'this' value will be undefined.
@@ -0,0 +1,45 @@ | |||
"use strict"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the function form of "use strict".
production: { | ||
logging: false, | ||
dialect: "postgres", | ||
url: process.env.DATABASE_URL_PRO, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
host: process.env.DATABASE_HOST_DEV, | ||
database: process.env.DATABASE_NAME_DEV, | ||
username: process.env.DATABASE_USERNAME_DEV, | ||
password: process.env.DATABASE_PASSWORD_DEV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
port: process.env.DATABASE_PORT_DEV, | ||
host: process.env.DATABASE_HOST_DEV, | ||
database: process.env.DATABASE_NAME_DEV, | ||
username: process.env.DATABASE_USERNAME_DEV, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
dialect: "postgres", | ||
port: process.env.DATABASE_PORT_DEV, | ||
host: process.env.DATABASE_HOST_DEV, | ||
database: process.env.DATABASE_NAME_DEV, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
logging: false, | ||
dialect: "postgres", | ||
port: process.env.DATABASE_PORT_DEV, | ||
host: process.env.DATABASE_HOST_DEV, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const dotenv_1 = __importDefault(require("dotenv")); | ||
dotenv_1.default.config(); | ||
module.exports = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'module' is not defined.
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const dotenv_1 = __importDefault(require("dotenv")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
'require' is not defined.
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'exports' is not defined.
@@ -0,0 +1,45 @@ | |||
"use strict"; | |||
var __importDefault = (this && this.__importDefault) || function (mod) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a strict mode function is executed using function invocation, its 'this' value will be undefined.
@@ -0,0 +1,45 @@ | |||
"use strict"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the function form of "use strict".
production: { | ||
logging: false, | ||
dialect: "postgres", | ||
url: process.env.DATABASE_URL_PRO, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
host: process.env.DATABASE_HOST_DEV, | ||
database: process.env.DATABASE_NAME_DEV, | ||
username: process.env.DATABASE_USERNAME_DEV, | ||
password: process.env.DATABASE_PASSWORD_DEV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
port: process.env.DATABASE_PORT_DEV, | ||
host: process.env.DATABASE_HOST_DEV, | ||
database: process.env.DATABASE_NAME_DEV, | ||
username: process.env.DATABASE_USERNAME_DEV, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
dialect: "postgres", | ||
port: process.env.DATABASE_PORT_DEV, | ||
host: process.env.DATABASE_HOST_DEV, | ||
database: process.env.DATABASE_NAME_DEV, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
logging: false, | ||
dialect: "postgres", | ||
port: process.env.DATABASE_PORT_DEV, | ||
host: process.env.DATABASE_HOST_DEV, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'process' is not defined.
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const dotenv_1 = __importDefault(require("dotenv")); | ||
dotenv_1.default.config(); | ||
module.exports = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'module' is not defined.
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const dotenv_1 = __importDefault(require("dotenv")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
'require' is not defined.
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'exports' is not defined.
@@ -0,0 +1,45 @@ | |||
"use strict"; | |||
var __importDefault = (this && this.__importDefault) || function (mod) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a strict mode function is executed using function invocation, its 'this' value will be undefined.
@@ -0,0 +1,45 @@ | |||
"use strict"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the function form of "use strict".
type: sequelize_1.DataTypes.DATE, | ||
defaultValue: sequelize_1.DataTypes.DATE | ||
} | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrecoverable syntax error. (91% scanned).
defaultValue: false | ||
}, | ||
status: { | ||
type: new sequelize_1.DataTypes.BOOLEAN, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing '()' invoking a constructor.
defaultValue: false | ||
}, | ||
is2FAEnabled: { | ||
type: new sequelize_1.DataTypes.BOOLEAN, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing '()' invoking a constructor.
allowNull: false | ||
}, | ||
isVerified: { | ||
type: new sequelize_1.DataTypes.BOOLEAN, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing '()' invoking a constructor.
allowNull: false | ||
}, | ||
phone: { | ||
type: new sequelize_1.DataTypes.BIGINT, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing '()' invoking a constructor.
const sequelize_1 = require("sequelize"); | ||
exports.default = { | ||
up: async (queryInterface) => { | ||
await queryInterface.createTable("tokens", { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
Bad invocation.
Expected ')' to match '{' from line 5 and instead saw 'queryInterface'.
Expected '}' to match '{' from line 4 and instead saw 'createTable'.
Expected an identifier and instead saw '.'.
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const sequelize_1 = require("sequelize"); | ||
exports.default = { | ||
up: async (queryInterface) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected '(' and instead saw '{'.
@@ -0,0 +1,46 @@ | |||
"use strict"; | |||
Object.defineProperty(exports, "__esModule", { value: true }); | |||
const sequelize_1 = require("sequelize"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
@@ -0,0 +1,46 @@ | |||
"use strict"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the function form of "use strict".
}); | ||
db.sequelize = sequelize; | ||
db.Sequelize = sequelize_1.Sequelize; | ||
exports.default = db; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'exports' is not defined.
No longer needed. |
No description provided.