Installation
If your organization uses AWS HTTP API Gateway with a NodeJS Lambda integration, you can use the HUMAN API Gateway Enforcer to protect your API Gateway against malicious behavior. The HUMAN enforcer easily integrates into your existing AWS Lambda function.
Prerequisites
- An existing AWS HTTP API Gateway
- A NodeJS Lambda integration with Node v16.x or later.
For the HUMAN AWS HTTP API Gateway Enforcer to be compatible with your AWS Lambda function integration, the AWS Lambda function must use v2 of the payload format structure.
Installation
- Install the Enforcer using NPM package in your project.
- Save your handler in a constant
- Export HUMAN Security’s handler from your Lambda.
- Deploy the AWS Lambda function and API Gateway.