Merge branch 'teste-bloqueio' of https://gitea.each-cs.com/pm/website-secure into teste-bloqueio
DevSecOps Enterprise Pipeline / security-gate-and-deploy (pull_request) Successful in 36s

This commit is contained in:
pm
2026-06-12 23:01:49 +01:00
3 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -49,7 +49,8 @@ jobs:
-Dsonar.exclusions=**/node_modules/** \ -Dsonar.exclusions=**/node_modules/** \
-Dsonar.host.url=https://sonar.each-cs.com \ -Dsonar.host.url=https://sonar.each-cs.com \
-Dsonar.token=${{ secrets.SONAR_TOKEN }} \ -Dsonar.token=${{ secrets.SONAR_TOKEN }} \
-Dsonar.qualitygate.wait=true -Dsonar.qualitygate.wait=true \
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
# ========================================== # ==========================================
# DYNAMIC SECURITY ANALYSIS & DEPLOYMENT # DYNAMIC SECURITY ANALYSIS & DEPLOYMENT
+5
View File
@@ -4,6 +4,11 @@ const path = require('node:path');
const nodemailer = require('nodemailer'); const nodemailer = require('nodemailer');
const app = express(); const app = express();
app.disable('x-powered-by');
const PORT = process.env.PORT || 3000; const PORT = process.env.PORT || 3000;
app.use(cors()); app.use(cors());
+1 -1
View File
@@ -4,7 +4,7 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "jest" "test": "jest --coverage --coverageReporters=lcovonly"
}, },
"repository": { "repository": {
"type": "git", "type": "git",