Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
lambda-rollbar
Advanced tools
Rollbar wrapper for Serverless, API Gateway and Lambda.
To install run npm install --save lambda-rollbar
Define rollbar and wrap handlers with
const rollbar = require('lambda-rollbar')({
accessToken: "YOUR_ROLLBAR_ACCESS_TOKEN",
environment: "YOUR_ENVIRONMENT",
enabled: true,
template: 'aws-sls-lambda-proxy'
});
exports.handler = rollbar.wrap((event, context, callback, rb) => rb
.warning("Some Warning...")
.then(callback(null, { statusCode: 200, body: "{\"message\":\"Hello World.\"}" })));
Available log levels are debug
, info
, warning
, error
and critical
.
You can set an environment on a per call bases using rb.warning("YOUR_MESSAGE", "YOUR_ENVIRONMENT")
.
Use the boolean verbose
option to log messages to console. This option also get's passed through into rollbar.
Lambda functions are called in different request context. Using the template
option you can define which request context should be assumed. Currently supported are:
aws-sls-lambda-proxy
(default) - Default event template for API Gateway using the Serverless Frameworkaws-cloud-watch
- For CloudWatch logs eventsFAQs
Rollbar wrapper for Serverless, API Gateway and Lambda.
We found that lambda-rollbar 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.