goldbergyoni / javascript-testing-best-practices

📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (July 2023)
https://testjavascript.com/
MIT License
24.08k stars 2.08k forks source link

5.6 Constantly inspect for vulnerable dependencies #141

Open sanguino opened 4 years ago

sanguino commented 4 years ago

Certificate expirations are very common and when your production site are down all the weekend becase the certificates expired on Fridays night, that is very annoying.

I think that it's a good idea to add a test that advise you X days before the certificates expires using a tool like https://www.npmjs.com/package/ssl-checker.

Regards!

goldbergyoni commented 4 years ago

@sanguino Welcome and my apologies for the late reply. We had here many holidays, and lockdown and what's not:)

I really like this topic of rich production monitoring. Pingdom for example also contain this, they not only check for uptime rather also for 'future problems': https://help.pingdom.com/hc/en-us/articles/360005584397-Certificate-monitoring-in-Uptime-checks

Maybe this repo needs a new section 'Production' where we show multiple techniques like canary, synthetic E2E, SSL check and more?