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.
bedrock-config-yaml
Advanced tools
This module is used to layer a deployment Bedrock configuration defined in
a YAML file onto bedrock.config
. Values defined in the YAML config may add
and overwrite values in bedrock.config
. The YAML configuration is applied
after all conventional Bedrock module configuration has been completed. If
there is no YAML configuration file found in the location specified by the
bedrock-config-yaml
config, Bedrock startup proceeds normally and no
configuration changes are applied.
To ensure that no other module will override the YAML configuration,
bedrock-config-yaml
should be the last import before bedrock.start()
is
called. If bedrock-config-yaml
is not the last bedrock-cli.parsed
or
bedrock.configure
event handler, an error will be thrown that will prevent
application startup.
There are two separate configuration files that are applied when different
events occur during Bedrock startup: core
and app
.
The core
config is used to configure core Bedrock features such as the
number of workers or the default log formatter. The core
config is applied by
the last handler for the bedrock-cli.parsed
event. The default location for
the core
config is: /etc/bedrock-config/core.yaml
.
core.yaml
core:
workers: 2
loggers:
console:
bedrock:
formatter: logstash
The app
config is used to configure Bedrock application/module features.
The app
config is applied by the last handler for the bedrock.configure
event. The default location for the app
config is:
/etc/bedrock-config/app.yaml
.
app.yaml
test-bedrock-module:
foo: fromYaml
overwriteMe: fromYaml
another-bedrock-module:
host: example.com
port: 18443
2.0.0 - 2020-12-09
core
and app
configuration.FAQs
Bedrock Config YAML
The npm package bedrock-config-yaml receives a total of 4 weekly downloads. As such, bedrock-config-yaml popularity was classified as not popular.
We found that bedrock-config-yaml demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.