Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@serverless/enterprise-plugin

Package Overview
Dependencies
Maintainers
2
Versions
497
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless/enterprise-plugin

The Serverless Platform plugin

  • 0.1.0-beta-7-g1c5df96
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
33K
decreased by-7.25%
Maintainers
2
Weekly downloads
 
Created
Source

Serverless Platform Plugin

This is a Serverless Framework plugin which helps you use advanced monitoring, tracing and governance features via the Serverless Platform.

The Plugin automatically wraps your functions and instruments them with the Serverless Platform's monitoring, alerting, logging and tracing features.

Quick-Start

Install the plugin via NPM

npm install @serverless/platform-plugin

Then add the plugin to your serverless.yml, like this:

plugins:
  - '@serverless/platform-plugin'

Safeguards

To enable Serverless Safeguards, add this to your configuration:

custom:
  safeguards: true

Log Collection

For collection logs to the platform, you need to set some configuration in your serverless.yml

custom:
  platform:
    collectLambdaLogs: true
    
    # Note: Automatic configuration for collecting API logs 
    #       is only possible on never before deployed apps for
    #       right now. his is a limitation of API Gateway and
    #       CloudFormation at the moment. We are looking for options.
    collectApiLogs: true

Development Notes

You can install the latest versions from the master branch by installing the next tag:

npm install @serverless/platform-plugin@next

The project is transpiled with babel, so run npm run build before installing it

Currently, the serverless-sdk is within this project. On deployment, this plugin copies a bundled and compressed version of the serverless-sdk into your Service package before it's uploaded.

If you are updating the serverless-sdk, ensure you run npm run build to rebuild it too

On the next deployment, the new sdk will be included.

FAQs

Package last updated on 15 Jan 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc