Skip to content
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

BD online #130

Merged
merged 6 commits into from
Mar 12, 2024
Merged

BD online #130

merged 6 commits into from
Mar 12, 2024

Conversation

uo277310
Copy link

No description provided.

@uo283055 uo283055 merged commit a749824 into dev Mar 12, 2024
1 check passed
Copy link

sonarcloud bot commented Mar 12, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
E Security Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@@ -11,7 +11,7 @@
app.use(express.json());

// Connect to MongoDB
const mongoUri = process.env.MONGODB_URI || 'mongodb://localhost:27017/userdb';
const mongoUri = process.env.MONGODB_URI || 'mongodb+srv://aswuser:aswuser@wiq06b.hsfgpcm.mongodb.net/userdb?retryWrites=true&w=majority&appName=wiq06b';

Check failure

Code scanning / SonarCloud

MongoDB database passwords should not be disclosed High

Make sure this MongoDB database password gets changed and removed from the code. See more on SonarCloud
@@ -12,7 +12,7 @@
app.use(bodyParser.json());

// Connect to MongoDB
const mongoUri = process.env.MONGODB_URI || 'mongodb://localhost:27017/userdb';
const mongoUri = process.env.MONGODB_URI || 'mongodb+srv://aswuser:aswuser@wiq06b.hsfgpcm.mongodb.net/userdb?retryWrites=true&w=majority&appName=wiq06b';

Check failure

Code scanning / SonarCloud

MongoDB database passwords should not be disclosed High

Make sure this MongoDB database password gets changed and removed from the code. See more on SonarCloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants