Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
serverless-seed-plugin
Advanced tools
Serverless Framework Plugin which seeds the data for AWS resources
This plugin is still in WIP and non-stable.
This plugin seeds the data for AWS resources.
AWS::DynamoDB::Table
AWS::Cognito::UserPool
AWS::S3::Bucket
$ npm install --save-dev serverless-seed-plugin
Add the plugin to your serverless.yml
file.
plugins:
- serverless-seed-plugin
Set up custom.seed.<resource>.<options>
in your serverless.yml
file. You can also follow the code in ./example/ dir.
Then run serverless seed
.
custom:
seed:
dynamodb:
TableId:
emptyOnly: true # default false - seed only if target is empty
truncate: true # default false
clone:
table: source-table-name # Clone data from table
recreate: true # default false
config: # empty by default, for more options see https://github.com/enGMzizo/copy-dynamodb-table#aws-config-for-each-table--cross-region--
accessKeyId: AKID
secretAccessKey: SECRET
region: eu-west-1
data:
- id: 'abc1'
name: 'myRecordName1'
- id: 'abc2'
name: 'myRecordName2'
custom:
prefix for custom attributes is requiredcustom:
seed:
cognito:
TodosUserPool:
emptyOnly: true # default false - seed only if target is empty
data:
- username: abc1
password: passw1
attributes:
- Name: custom:mutableClientData
Value: mutableClientData_val
- Name: custom:immutableClientData
Value: immutableClientData_val
- username: abc2
password: passw2
attributes: []
Do not forget to clear all objects from bucket, before serverless remove
command called or use our plugin
custom:
seed:
s3:
TodosBucket:
emptyOnly: true # default false - seed only if target is empty
data:
- ./somedir/
FAQs
Serverless Framework Plugin which seeds the data for AWS resources
The npm package serverless-seed-plugin receives a total of 151 weekly downloads. As such, serverless-seed-plugin popularity was classified as not popular.
We found that serverless-seed-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.