Skip to content

Add configurable security middleware defaults #17

Description

@Subhransu-De

What to build

Add settings-driven middleware for common production web/API hardening while keeping defaults safe for local development.

Acceptance criteria

  • CORS origins are configurable and documented.
  • Trusted host validation is configurable and documented.
  • Request correlation ID is added or propagated and included in logs/traces.
  • Security headers are added in app middleware or explicitly delegated to the reverse proxy in docs.
  • Tests cover the middleware behavior for representative requests.

Blocked by

None - can start immediately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions