This product is not supported for your selected Datadog site. ().
Cette page n'est pas encore disponible en français, sa traduction est en cours. Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
constapp=express()// express() is called but none of the following were detected afterwards
// app.disable('x-powered-by')
// app.use(hidePoweredBy())
// app.use(helmet.hidePoweredBy())
// app.use(helmet())
Compliant Code Examples
constapp=express()app.use(helmet());// rest of your config
constapp=express()app.use(helmet.hidePoweredBy());// rest of your config
constapp=express()app.use(hidePoweredBy())// rest of your config
constapp=express()app.disable('x-powered-by')// rest of your config
1
2
rulesets:- javascript-express # Rules to enforce JavaScript express.