
Security News
Static vs. Runtime Reachability: Insights from Latio’s On the Record Podcast
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
aws-lambda-rie-http
Advanced tools
A Lambda Runtime Interface Emulator simulating a HTTP server.
$ npm install --save-dev aws-lambda-rie-http
$ npx aws-lambda-rie-http app.handler
app.handler listening on 127.0.0.1:3000
# path/to/your.js
# `module.exports.handler = function handler(event, context) { ... }`
# `export function handler(event, context) { ... }`
$ npx aws-lambda-rie-http path/to/your.handler
path/to/your.handler listening on 127.0.0.1:3000
aws-lambda-rie-http <lambda.handler> [options]
Options:
--help Show help [boolean]
--version Show version number [boolean]
--host HTTP server host to bind to
[string] [default: "127.0.0.1"]
--port HTTP server port [number] [default: 3000]
--event-format, --eventFormat
[string] [choices: "LAMBDA_FUNCTION_EVENT",
"API_GATEWAY_PROXY_EVENT_1.0", "API_GATEWAY_PROXY_EVENT_2.0"]
[default: "LAMBDA_FUNCTION_EVENT"]
--context-format, --contextFormat
[string] [choices: "LAMBDA_CONTEXT"] [default: "LAMBDA_CONTEXT"]
# path/to/your.ts
# `export function handler(event: ..., context: ...): Promise<...> { ... }`
$ npx ts-node ./node_modules/.bin/aws-lambda-rie-http path/to/your.handler
path/to/your.handler listening on 127.0.0.1:3000
Any questions or suggestions please open an issue.
FAQs
Simulate HTTP requests to your Lambda function handlers
We found that aws-lambda-rie-http 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
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.