🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

serverless-api-gateway-execution-log-manager

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-api-gateway-execution-log-manager

Serverless plugin for setting log retention and deleting API Gateway execution logs during stack update/removal

1.0.0
Source
npm
Version published
Weekly downloads
24
-40%
Maintainers
1
Weekly downloads
 
Created
Source

serverless-api-gateway-execution-log-manager

serverless license build status npm version

This Serverless Framework plugin manages the API Gateway execution log groups automatically created in CloudWatch when execution logging is enabled in serverless.yml. When enabling these logs, API Gateway automatically creates a CloudWatch log group named API-Gateway-Execution-Logs_[uniqueId]/[stage]. This log group is not part of the CloudFormation stack deployed by Serverless Framework.

Installation

npm install serverless-api-gateway-execution-log-manager --save-dev

Usage

Add the following to your serverless.yml:

Add the following to your serverless.yml:

plugins:
  - serverless-api-gateway-execution-log-manager
  
provider:
  logs:
    restApi:
      level: INFO
      executionLogging: true      
      fullExecutionData: true

This plugin does not have any configuration options (yet).

Keywords

serverless

FAQs

Package last updated on 04 Feb 2021

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