All good v1
DevSecOps Enterprise Pipeline / security-gate-and-deploy (pull_request) Failing after 10s

This commit is contained in:
pm
2026-06-13 11:36:27 +01:00
parent 76f95077ce
commit 85e6d4b66a
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -23,9 +23,9 @@ app.get('/careers', (req, res) => res.sendFile(path.join(__dirname, '../frontend
app.get('/contact', (req, res) => res.sendFile(path.join(__dirname, '../frontend/contact.html')));
// ==========================================
// ROTA VULNERÁVEL (Armadilha infalível para o OWASP ZAP)
// VULNERÁVEL (OWASP ZAP)
// ==========================================
app.get('/api/search', (req, res) => {
/*app.get('/api/search', (req, res) => {
const termo = req.query.q || '';
// A vulnerabilidade crítica: devolver o input diretamente no HTML
res.send(`
@@ -37,7 +37,7 @@ app.get('/api/search', (req, res) => {
</body>
</html>
`);
});
});*/
// Configuração do transporte de E-mail (Mocks de teste vs Produção)
let transporter;