nuxt-security icon indicating copy to clipboard operation
nuxt-security copied to clipboard

feat(docs): add security to docs

Open vejja opened this issue 1 year ago • 2 comments

Types of changes

  • [ ] Bug fix (a non-breaking change which fixes an issue)
  • [x] New feature (a non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

This allows to deploy docs with Nuxt Security enabled. This is a first step towards obtaining a security score that can be displayed on the site: see #446

Description

Checklist:

  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [ ] I have added tests to cover my changes (if not applicable, please state why)

vejja avatar May 11 '24 10:05 vejja

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

Name Status Preview Comments Updated (UTC)
nuxt-security ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 12, 2024 2:30pm

vercel[bot] avatar May 11 '24 10:05 vercel[bot]

Docs now deployed with security headers

  • securityheaders.com score: A+ Screenshot 2024-05-12 at 16 32 18

  • mozilla observatory score: A+ Screenshot 2024-05-12 at 16 38 14

vejja avatar May 12 '24 14:05 vejja

Great piece of work Sebastien! I am glad thatwe will have this as a part of our docs!

You cans afely merge right now to the RC branch :)

Will do now Can you change the Vercel deploy settings to disable the Live Comments ? Reason is: this feature injects a post-build script which is not SRI-protected. Removing the script will improve our Mozilla score

vejja avatar May 17 '24 08:05 vejja