-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Following the dependency review against the ADRs, we need to confirm that the installed security and metrics middleware are actively being used and configured correctly in the TypeScript service codebase.
Tasks:
- Check the Express application setup code (likely
src/typescript/src/index.tsor related server/app setup files). - Verify that
helmet()middleware is applied. - Verify that
express-rate-limitmiddleware is configured and applied (potentially to specific routes or globally). - Verify that the Prometheus metrics middleware (
express-prometheus-metricsor similar) is applied to expose a/metricsendpoint. - Ensure configurations are sensible defaults or align with project requirements.
This task ensures the codebase matches the intent documented in ADR-007 (Metrics) and ADR-008.