60 Commits

Author SHA1 Message Date
jayrizon 8715274c9a adds ports to check environment variable.
Checks if the env PORTS_TO_CHECK is set, if so the string is split via "," to get an array of ports to check.
If the env is not set, return the default commonly used ports.
2025-08-01 08:27:15 +02:00
Alicia Sykes 0e4958aa10 security: Replace exec with execFile 2025-04-12 12:11:11 +01:00
Tobias bbf519e110 fix screenshot.js 2025-02-26 13:55:48 +01:00
Alicia Sykes da0204c156 feat: Temporarily disable, because I am poor. 2024-12-17 20:16:36 +00:00
Alicia Sykes ba8880cff7 feat: Add old-school export option for Netlify 2024-06-18 22:07:27 +01:00
Alicia Sykes 43fb27eade Merge branch 'master' of github.com:lissy93/web-check into FEAT/astroify 2024-06-16 21:18:41 +01:00
Denis Simonov b55a1cc1b3 Sort openPorts and failedPorts before returning 2024-05-28 02:59:30 +03:00
Alicia Sykes cb8db0b1f5 JSON parsing in API endpoints 2024-05-18 15:01:52 +01:00
Denis Simonov 7125eeff5d Update firewall.js, add ddos-guard WAF
Add ddos-guard WAF
https://ddos-guard.net/en
2024-05-17 00:00:56 +03:00
Alicia Sykes c9e57400fd Convert all API endpoints into ESM modules 2024-05-06 21:51:32 +01:00
Denis Simonov 9609cd3701 Update firewall.js, add QRATOR WAF
Add new firewall: https://qrator.net/
2024-05-03 18:23:04 +03:00
KostLinux 38d6b5b97e Fix bug with JSON Doctype #120 2024-03-26 15:35:24 +02:00
Alicia Sykes 24ca677021 Fix timeout parsing, and show timeout on Vercel 2024-03-22 06:40:36 +00:00
Alicia Sykes ada1dccc5b Update timeout message for sitemap 2024-03-20 21:19:58 +00:00
Alicia Sykes 523419df11 Adds timeout functionality 2024-03-20 20:43:51 +00:00
Alicia Sykes ee74c5866a Slight improvments to error messaging for sitemap and quality report 2024-03-14 07:59:03 +00:00
Gertje823 e77075764e Added Mimecast as mail provider 2024-03-09 13:49:38 +01:00
Murray Christopherson 09e5b5d888 Check the correct header for the strictTransportPolicy property
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
2023-09-13 19:29:58 -07:00
Marco Ochse 2bce29e3cb Allow for Screenshot within Docker
Chromium in Docker needs to be startet without sandbox or screenshot will fail.
2023-09-12 11:01:49 +02:00
Alicia Sykes 5297b2ffe7 Fixes block-lists job (#50) 2023-09-09 20:29:19 +01:00
Alicia Sykes 8a7b024e99 Return plain JSON, to be handled by middleware instead 2023-09-03 16:58:46 +01:00
Alicia Sykes 59203acdfa Update the env check, to determine what handler format to use 2023-09-03 15:32:58 +01:00
Alicia Sykes 1a95a42853 Updates all API functions, to work on both Vercel & Netlify 2023-09-03 12:27:04 +01:00
Alicia Sykes 3695c82472 Updates middleware, with both AWS and Express support 2023-09-03 12:26:41 +01:00
Alicia Sykes 749a61358c Improve SSL check, by useing direct TLS connection and listen for secureConnect event 2023-08-26 13:09:08 +01:00
Alicia Sykes 86bb64a4d0 Adds an endpoint for fetching TLS info via Moz observetory 2023-08-22 21:40:22 +01:00
Alicia Sykes 8ca747c02f Adds support for Google Safe Browsing in threats API endpoint 2023-08-19 23:36:47 +01:00
Alicia Sykes 759bb603df Adds functionality for threats, malware, phishing, viruses 2023-08-19 22:00:15 +01:00
Alicia Sykes 93ed8d6c44 Working on lambda function for malware, phishing and viruses check 2023-08-18 19:33:49 +01:00
Alicia Sykes dbcbd36874 Skip check if robots.txt not present 2023-08-18 19:27:38 +01:00
Alicia Sykes 519d2f0f79 Adds checking for Blocklists 2023-08-18 16:20:16 +01:00
Alicia Sykes 6b8c50a9aa lambda function for checking against DNS blocklists 2023-08-17 23:30:23 +01:00
Alicia Sykes 2bf7454950 Improved robustness of whois endpoint 2023-08-14 22:34:38 +01:00
Alicia Sykes 8d4c09ffd9 Implements global page rank widget 2023-08-14 22:15:00 +01:00
Alicia Sykes a8eadf40b0 Makes SSL check much more comprehensive 2023-08-13 13:57:48 +01:00
Alicia Sykes 9b9c31674d Adds support for client-side cookie identification 2023-08-13 13:57:34 +01:00
Alicia Sykes d38f2ae384 Fixes changes per day / scan calculation 2023-08-13 13:57:15 +01:00
Alicia Sykes d63f891667 Adds API endpoint to fetch data from Wayback Machine 2023-08-12 21:57:24 +01:00
Alicia Sykes 1e8d6e868c Adds HTTP security header checks 2023-08-12 16:08:06 +01:00
Alicia Sykes efba42d59d Adds firewall WAF checks 2023-08-12 16:07:47 +01:00
Alicia Sykes 18faeb631b Adds compatibility for deploying direct to AWS lambda 2023-08-11 22:51:56 +01:00
Alicia Sykes 5f3a99f2b9 Safe fallback when no event query params present 2023-08-11 22:50:37 +01:00
Alicia Sykes 9e426ed55e Rename endpoints to be the same as job IDs 2023-08-10 19:30:21 +01:00
Alicia Sykes 95b13240c7 Makes some functions more robust 2023-08-10 14:27:06 +01:00
Alicia Sykes f96c7ba25f Implement middleware into newer lambdas 2023-08-10 14:26:36 +01:00
Alicia Sykes d2a56eb526 Updates all API endpoints to use common middleware 2023-08-09 22:33:36 +01:00
Alicia Sykes 85af5f9327 Updated middleware to handle various response shapes 2023-08-09 22:31:47 +01:00
Alicia Sykes f0ff33e081 Starts making middleware functionality 2023-08-06 22:05:14 +01:00
Alicia Sykes 65ff004b63 Fix missing url param when called by server direct 2023-08-06 22:04:57 +01:00
Alicia Sykes d6da8e123e Updates the internal/external content links section 2023-07-29 19:18:57 +01:00