
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
express-loggly-iis
Advanced tools
A module that sends logging information to your Loggly instance.
Here's how to set up Loggly IIS with your existing Express server:
Run: npm install --save git://github.com/onenorth/express-loggly-iis.git#2.0.3
Add app.use(expressLogglyIIS)
before all of your routes.
const express = require('express')
const expressLogglyIIS = require('express-loggly-iis')
const app = express()
// !!! Important for logging IP addresses on Heroku !!!
app.set('trust proxy', true)
app.use(expressLogglyIIS)
app.get('/', (req, res) => res.send('home'))
app.get('/people', (req, res) => res.send('people'))
app.get('/services', (req, res) => res.send('services'))
app.listen(3000, () => console.info('ready on port 3000'))
To configure this with your Express instance, please use the following environment variables:
LOGGLY_TOKEN
(Required)
Example:
12345678-1234-1234-1234-1234567890AB
The customer token generated from Loggly. Find out more about how to create a token here.
LOGGLY_TAGS
(Required)
Example:
iis,onenorth
A comma-separated list of tags you want to use for filtering logs.
Please add in your site's tag, along with iis
.
LOGGLY_SUBDOMAIN
(Defaults to logs-01
)
Example:
logs-01
The subdomain associated with Loggly (you can leave this alone).
The subdomain option is only here in case hosting decides to change their standard endpoint.
FAQs
Express middleware to log messages to Loggly
We found that express-loggly-iis 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.