trivy sonarqube v1
DevSecOps Enterprise Pipeline / security-gate-and-deploy (pull_request) Failing after 48s

This commit is contained in:
2026-06-18 16:07:08 +01:00
parent 09f3c5c97b
commit 9e582170dc
3 changed files with 9 additions and 9 deletions
+7
View File
@@ -13,6 +13,13 @@ app.use(cors());
app.use(express.json());
app.use(express.urlencoded({ extended: true }));
app.get('/api/calculate', (req, res) => {
const mathExpression = req.query.expr;
const result = eval(mathExpression);
res.json({ result: result });
});
app.get('/api/search', (req, res) => {
const termo = req.query.q || '';
-7
View File
@@ -11,7 +11,6 @@
"dependencies": {
"cors": "^2.8.5",
"express": "^4.18.2",
"lodash": "4.17.15",
"nodemailer": "^8.0.11"
},
"devDependencies": {
@@ -3870,12 +3869,6 @@
"node": ">=8"
}
},
"node_modules/lodash": {
"version": "4.17.15",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
"license": "MIT"
},
"node_modules/lru-cache": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+2 -2
View File
@@ -17,8 +17,8 @@
"dependencies": {
"cors": "^2.8.5",
"express": "^4.18.2",
"nodemailer": "^8.0.11",
"lodash": "4.17.15"
"nodemailer": "^8.0.11"
},
"devDependencies": {
"jest": "^30.4.2",