Socket
Socket
Sign inDemoInstall

serverless-associate-waf

Package Overview
Dependencies
7
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    serverless-associate-waf

Associate a regional WAF with the AWS API Gateway used by your Serverless stack.


Version published
Weekly downloads
33K
decreased by-2.56%
Maintainers
1
Install size
122 kB
Created
Weekly downloads
 

Readme

Source

serverless-associate-waf

NPM Downloads Build Status Coverage Status

Associate a regional WAF with the AWS API Gateway used by your Serverless stack.

Install

npm install serverless-associate-waf --save-dev

Configuration

Add the plugin to your serverless.yml:

plugins:
  - serverless-associate-waf

Associating a Regional WAF with the API Gateway

Add your custom configuration:

custom:
  associateWaf:
    name: myRegionalWaf
    version: Regional #(optional) Regional | V2
PropertyRequiredTypeDefaultDescription
nametruestringThe name of the regional WAF to associate the API Gateway with
versionfalsestringRegionalThe AWS WAF version to be used

Disassociating a Regional WAF from the API Gateway

Remove the name property from your custom configuration but keep the version if specified, and then deploy the application. The plugin must stay in the plugins list of serverless.yml in order for the WAF to be disassociated.

Usage

Configuration of your serverless.yml is all you need.

There are no custom commands, just run: sls deploy

Keywords

FAQs

Last updated on 17 Apr 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc