Gathering detailed insights and metrics for bluemix-cf-ip-filter
Gathering detailed insights and metrics for bluemix-cf-ip-filter
Gathering detailed insights and metrics for bluemix-cf-ip-filter
Gathering detailed insights and metrics for bluemix-cf-ip-filter
Express middleware to restrict server access using IP addresses for node apps on Bluemix Cloudfoundry
npm install bluemix-cf-ip-filter
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
18 Commits
1 Watchers
3 Branches
1 Contributors
Updated on Oct 01, 2017
Latest Version
0.1.3
Package Id
bluemix-cf-ip-filter@0.1.3
Size
2.49 kB
NPM Version
5.4.2
Node Version
8.1.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
7
Express middleware for IP Based Filtering of incoming requests to Bluemix cloudfoundry apps. The standard IP filtering middleware wont work here as bluemix will proxy your request, use this if your hosting in bluemix instead.
Cloudfoundry on Bluemix does not support restricting allowed IPs in its configuration, you can easily add this functionality to your existing express application using this module.
1npm install bluemix-cf-ip-filter
The middleware will allow requests originating from listed address and respond with standard 403 response any to others.
1const ipFilter = require('bluemix-cf-ip-filter') 2 3const express = require('express') 4const app = express() 5 6if(process.env.NODE_ENV === 'production') { 7 // allowed mode only listed ips will connect 8 app.use(ipFilter(['22.223.1.24'], 'allow')) 9}
middleware will block requests originating from listed address with a 403 response and allow unlisted IPs.
1if(process.env.NODE_ENV === 'production') { 2 // listed ips will be blocked 3 app.use(ipFilter(['22.223.1.24'], 'block')) 4}
Tested using mocha, chai and sinon
1npm test
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/18 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
44 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More