
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
node-cloudfoundry-actuator
Advanced tools
Actuator support for NodeJS Cloud Foundry Applications.
Currently provides health and info endpoints for Cloud Foundry Apps Manager. These two and future Endpoints are restricted to users that
Use Cloud Foundry Actuator CLI to generate a build info file ahead of deployment time. This file is optional, but we can't show version infos without it.
Health status will be shown automatically and will be costumizable in the future.
See Express Cloud Foundry Actuator Middleware Example for an example application with full integration of Cloud Foundry Actuator CLI and Express Cloud Foundry Actuator Middleware.
npm install node-cloudfoundry-actuator --save
The Cloud Foundry Apps Manager needs to be able to call various actuator endpoints to fetch health state and build informations. Applications integrating this library need to expose these endpoints.
A typical Connect middleware implementation might look like this:
'use strict'
const Actuator = require('node-cloudfoundry-actuator')
const actuator = new Actuator()
module.exports = () => {
return (req, res, next) => {
try {
actuator.handle(req, res, next)
} catch (e) {
next()
}
}
}
The main class of this library has one public method handle which accepts a HttpRequest and HttpResponse. Instances of this class will handle positive responses and expect the implementing library to handle errors.
Only requests to a path matching /cloudfoundryapplication[/*] will be intercepted and answered.



This project is distributed under the MIT license.
FAQs
Actuator support for NodeJS Cloud Foundry Applications
The npm package node-cloudfoundry-actuator receives a total of 13 weekly downloads. As such, node-cloudfoundry-actuator popularity was classified as not popular.
We found that node-cloudfoundry-actuator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.