Add security improvements: CSP config, body size limits, response caching, Dockerfile hardening - #366
Merged
EmmanuelOchaje merged 1 commit intoSep 26, 2026
Conversation
✅ Deploy Preview for stellarticketsbackend ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…hing, Dockerfile hardening - StellarTickets#191: Document helmet security headers and add CSP_DIRECTIVES env var - StellarTickets#193: Add JSON_BODY_LIMIT env var with configurable request body size limit - StellarTickets#195: Add ResponseCacheInterceptor for public event endpoints with TTL cache and invalidation on writes - StellarTickets#197: Harden Dockerfile with non-root user and HEALTHCHECK Closes StellarTickets#191, Closes StellarTickets#193, Closes StellarTickets#195, Closes StellarTickets#197
AbelOsaretin
force-pushed
the
feat/security-improvements
branch
from
September 26, 2026 13:58
ad48220 to
15f38e0
Compare
|
@AbelOsaretin Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #191, Closes #193, Closes #195, Closes #197
Type of Change
Summary
This PR addresses 4 security and reliability issues:
Motivation / Context
These changes improve the security posture and reliability of the backend API:
Closes #191, Closes #193, Closes #195, Closes #197