Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
serverless-plugin-select
Advanced tools
Serverless plugin that selects which functions are to be deployed.
Select which functions are to be deployed based on region and stage.
Note: Requires Serverless v1.12.x or higher.
Install via npm in the root of your Serverless service:
npm install serverless-plugin-select --save-dev
plugins
array in your Serverless serverless.yml
, you should place it at the top of the list:plugins:
- serverless-plugin-select
- ...
Add regions
or stages
in your functions to select for deployment
Run deploy command sls deploy --stage [STAGE NAME] --region [REGION NAME]
or sls deploy function --stage [STAGE NAME] --region [REGION NAME] --function [FUNCTION NAME]
Functions will be deployed based on your selection
All done!
How it works? When deployment region or stage don't match function regions or stages, that function will be deleted from deployment.
regions - Function accepted deployment regions.
functions:
hello:
regions:
- eu-west-1
- ...
functions:
hello:
stages:
- dev
- ...
Help us making this plugin better and future proof.
npm install
git checkout -b new_feature
npm run lint
This software is released under the MIT license. See the license file for more details.
FAQs
Serverless plugin that selects which functions are to be deployed.
The npm package serverless-plugin-select receives a total of 2,308 weekly downloads. As such, serverless-plugin-select popularity was classified as popular.
We found that serverless-plugin-select 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.