From 5445cc61cc2aa3d20bfd1e8753fbd4afea2510b6 Mon Sep 17 00:00:00 2001 From: Mitchell Wise Date: Tue, 12 Dec 2023 10:43:12 -0500 Subject: [PATCH] remove header x-powered-by for WASA remediation --- src/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app.js b/src/app.js index 09bb301d..817460a1 100644 --- a/src/app.js +++ b/src/app.js @@ -76,6 +76,7 @@ function runServer(argv) { .then(handleMetadata(argv)) .then(() => { const app = express(); + app.disable("x-powered-by"); const httpServer = http.createServer(app); const spConfigs = { id_me: new SPConfig(argv) }; strategies.set("id_me", createPassportStrategy(spConfigs.id_me));