Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
kube-probe
Advanced tools
connect.js middleware that sets up generic liveness and readiness probes for Openshift/Kubernetes
This module is deprecated.
Connect middleware that sets up generic liveness and readiness probes for OpenShift/Kubernetes
Example Usage:
const express = require('express');
const app = express();
const probe = require('kube-probe');
probe(app);
This will add 2 GET
endpoints /api/health/liveness
and /api/health/readiness
that will return a 200 OK
response. This module uses overload-protection
to identify
when a process may be overloaded, and will return HTTP 503 Service Unavailable
if the service becomes too heavily loaded. Configuration of the protection-config
module
may be passed as options.protectionConfig
.
See: https://github.com/davidmarkclements/overload-protection/
app - an instance of a connect-based framework (e.g. express.js) - required
options - optional
options.readinessURL - string - url where the readiness probe is located
options.livenessURL - string - url where the livenessURL probe is located
options.readinessCallback - function - function to call when the readiness probe is triggered
options.livenessCallback - function - function to call when the liveness probe is triggered
options.bypassProtection - boolean - kube-probe will bypass protection (defaults to false)
options.protectionConfig - object - options passed direction to overload-protection
1.0.3 (2021-07-28)
FAQs
connect.js middleware that sets up generic liveness and readiness probes for Openshift/Kubernetes
The npm package kube-probe receives a total of 223 weekly downloads. As such, kube-probe popularity was classified as not popular.
We found that kube-probe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.