
Research
wget to Wipeout: Malicious Go Modules Fetch Destructive Payload
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
serverless-plugin-alerting
Advanced tools
This Plugin adds Cloudwatch Alarms with SNS notifications for your Lambda functions.
Note: This plugin supports Serverless 0.5.* (Please use previous releases for other sls-versions)
make sure that aws and serverless are installed
@see http://docs.aws.amazon.com/cli/latest/userguide/installing.html
install this plugin to your project
(adds the plugin to your node_modules folder)
cd projectfolder
npm install serverless-plugin-alerting
"plugins": [
"serverless-plugin-alerting"
]
sls function deploy
array of alerting definition objects
you can add multiple alerts as an array of alerting-objects
you can add multiple mertic filters as in array of metricfilter-objects
you can add multiple subscription filters as in array of subscritionfilter-objects
use-case:
required changes for multiple alerts
[
{
"notificationTopicStageMapping": { ... },
"metricFilters": { ... },
"subscriptionFilters": { ... },
"alerts": { ... }
},
{
"notificationTopicStageMapping": { ... },
"metricFilters": { ... },
"subscriptionFilters": { ... },
"alerts": { ... }
}
]
sls variables list
Serverless: Select a stage:
1) dev
2) live
> 3) staging
4) testing
sls stage create
[
{
...
"alerts": {
"Duration": {
...
"metricName": "myOwnMetricName",
"dimensions": [
{
Name: "Resource", Value: "myResourceName"
},
{
Name: "FunctionName", Value: "myFunctionName"
}
]
}
}
...
}
]
[
{
...
"alerts": {
"Duration": {
...
"assignedActions": [
'InsufficientData',
'OK',
'Alarm'
],
...
}
}
...
}
]
FAQs
Serverless Alerting Plugin.
The npm package serverless-plugin-alerting receives a total of 0 weekly downloads. As such, serverless-plugin-alerting popularity was classified as not popular.
We found that serverless-plugin-alerting 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.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.