Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
serverless-offline-sqs-dlq
Advanced tools
Readme
This Serverless-offline plugin brings Dead-Letter Queues to AWS λ and SQS queue on your local machine. It extends serverless-offline-sqs and thus depends on it.
Warning: Serverless doesn't support yet SQS for DLQ. After the deployment on AWS, the DLQ needs to be set on AWS (either manually or by a script).
First, ensure to have serverless-offline-sqs included in your project:
npm install serverless-offline-sqs serverless-offline-sqs-dlq
Then inside your project's serverless.yml
file, add following entries to the plugins section before serverless-offline
(and after serverless-webpack
if presents).
plugins:
- serverless-webpack
- serverless-offline-sqs
- serverless-offline-sqs-dlq
- serverless-offline
Usage:
functions:
basicLambda:
handler: index.basicLambda
events:
- sqs: arn:aws:sqs:eu-west-1:XXXXXXX:basicLambdaTriggerQueue
handleErrorLambda:
handler: index.handleErrorLambda
events:
- sqs: arn:aws:sqs:eu-west-1:XXXXXXX:handleErrorLambdaQueue
Specify in the custom
section which function handles errors:
custom:
(...)
serverless-offline-sqs-dlq:
basicLambda:
onError: handleErrorLambda
maxReceiveCount: 3
FAQs
Enable Dead-Letter-Queue with AWS λ and SQS locally when developing your Serverless project
The npm package serverless-offline-sqs-dlq receives a total of 66 weekly downloads. As such, serverless-offline-sqs-dlq popularity was classified as not popular.
We found that serverless-offline-sqs-dlq 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.