
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
slspress-config-loader
Advanced tools
#slspress-config-loader
Loads environment config from a env config yaml file, a secret file and environment properties merging them together.
The idea is that the serverless.yml file can reference a file that calls this to load config that is then available in the serverless.yml file
For example:
serverless.yml:
custom:
conf: ${file(./config/config-loader-${opt:stage}.js):config}
provider:
region: ${self:custom.conf.region}
vpc: ${self:custom.conf.vpc}
environment: ${self:custom.conf.env}
...
config/config-loader-development.js:
module.exports.config = () => require('slspress-config-loader')(__dirname, 'development');
config/config.development.yml:
region: "us-east-1"
vpc:
securityGroupIds:
- ""
subnetIds:
- ""
- ""
env:
SOME_CONFIG: "config-value"
config/config.development.secret.yml: // added to .gitignore
env:
SOME_SECRET_KEY: "shhh"
FAQs
Loads config files
We found that slspress-config-loader 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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.