Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add security headers #7060

Merged
merged 2 commits into from
Jan 19, 2024
Merged

Add security headers #7060

merged 2 commits into from
Jan 19, 2024

Conversation

sainak
Copy link
Member

@sainak sainak commented Jan 19, 2024

This pull request adds security headers to the server response. Specifically, it sets the cache-control header to max-age=0, no-store, and adds the X-Frame-Options and X-Content-Type-Options headers to enhance security.

@sainak sainak requested a review from a team as a code owner January 19, 2024 05:27
Copy link

netlify bot commented Jan 19, 2024

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 2a8c494
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/65aa0f3b0716c90008c4fa24
😎 Deploy Preview https://deploy-preview-7060--care-egov-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

vercel bot commented Jan 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 19, 2024 5:57am

Copy link

cypress bot commented Jan 19, 2024

Passing run #1909 ↗︎

0 104 0 0 Flakiness 0

Details:

Add security headers
Project: CARE Commit: 2a8c4948fa
Status: Passed Duration: 02:44 💡
Started: Jan 19, 2024 6:01 AM Ended: Jan 19, 2024 6:04 AM

Review all test suite changes for PR #7060 ↗︎

@Ashesh3 Ashesh3 requested a review from rithviknishad January 19, 2024 06:24
@khavinshankar khavinshankar merged commit 85b6a30 into develop Jan 19, 2024
62 checks passed
@khavinshankar khavinshankar deleted the sainak/feat/security-headers branch January 19, 2024 06:29
Copy link

@sainak We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants