Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@serverless/dashboard-plugin
Advanced tools
@serverless/dashboard-plugin is a plugin for the Serverless Framework that provides enhanced monitoring, troubleshooting, and management capabilities for serverless applications. It integrates with the Serverless Dashboard to offer real-time insights, alerts, and deployment tracking.
Monitoring and Alerts
This feature allows you to set up monitoring and alerts for your serverless applications. The code sample demonstrates how to configure an alert for a high error rate.
module.exports = {
service: 'my-service',
frameworkVersion: '2',
plugins: ['@serverless/dashboard-plugin'],
custom: {
dashboard: {
org: 'my-org',
app: 'my-app',
alerts: [
{
name: 'High Error Rate',
conditions: {
errorRate: {
threshold: 5,
period: 300
}
}
}
]
}
}
};
Deployment Tracking
This feature provides deployment tracking capabilities, allowing you to monitor the status and history of your deployments. The code sample shows the basic configuration needed to enable deployment tracking.
module.exports = {
service: 'my-service',
frameworkVersion: '2',
plugins: ['@serverless/dashboard-plugin'],
custom: {
dashboard: {
org: 'my-org',
app: 'my-app'
}
}
};
Real-time Insights
This feature offers real-time insights into the performance and health of your serverless applications. The code sample demonstrates the basic setup to enable real-time insights.
module.exports = {
service: 'my-service',
frameworkVersion: '2',
plugins: ['@serverless/dashboard-plugin'],
custom: {
dashboard: {
org: 'my-org',
app: 'my-app'
}
}
};
The serverless-plugin-datadog package integrates Datadog with the Serverless Framework, providing monitoring, logging, and alerting capabilities. Compared to @serverless/dashboard-plugin, it offers more advanced integrations with Datadog's suite of tools but requires a Datadog account.
The serverless-newrelic-lambda-layers package integrates New Relic with the Serverless Framework, offering monitoring and observability for AWS Lambda functions. It provides similar functionalities to @serverless/dashboard-plugin but focuses on New Relic's observability platform.
The serverless-plugin-splunk package integrates Splunk with the Serverless Framework, enabling logging and monitoring for serverless applications. It offers similar capabilities to @serverless/dashboard-plugin but leverages Splunk's logging and monitoring services.
To enable the various features of the Serverless Framework Dashboard for a particular Service you must deploy or redeploy that Service, using Serverless Framework open-source CLI version 1.45.1 or later.
Upon deployment, the Serverless Framwork Enteprise Plugin will automatically wrap and instrument your functions to work with the Serverless Framework Dashboard dashboard.
npm i
cd sdk-js
npm i
npm run build
cd -
npm t
cd sdk-js
npm t
cd -
For integration tests run you need an access to integration
dashboard organization, and generated for it access key.
Then tests can be run as:
SERVERLESS_ACCESS_KEY=xxx npm run integration-test
package.json
FAQs
The Serverless Dashboard plugin
The npm package @serverless/dashboard-plugin receives a total of 697,082 weekly downloads. As such, @serverless/dashboard-plugin popularity was classified as popular.
We found that @serverless/dashboard-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.