Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
microgateway-config
Advanced tools
this module takes a source config yaml and and returns a merged config from the network inorder to use its recommended you work in this order
api looks like this
{
get:function(options,cb){
/**
* load the config from the network and merge with default config
* @param options {target:save location and filename,keys: {key:,secret:},source:default loading target}
* @param callback function(err){}
*/
},
init:function(options, cb){
/**
* initializes the config based on a source config, this must be called first
* @param options {source,targetDir,targetFile}
* @param cb function(err,configpath)
*/
},
load:function(options){
/**
* loads config from source config, defaults to your home directory if you don't specify a source
* @param options {source,hash=1,0}
* @returns {err,config}
*/
},
save:function(config,target){
/**
* saves the config
* @param config to save
* @param target destination
*/
}
};
v2.4.17
3/1/2019
Bug fixes:
Improve error handling for invalid JSON
while the entire test suite for this project can be tested without any external dependencies, you may want to run tests using your own microgateway configuration. Here's an example of how to do this:
cp /path/to/your/config.yaml ./tests/configdir/my-config.yaml
EDGEMICRO_KEY=< your edgemicro key >
EDGEMICRO_SECRET=< your edgemicro secret >
npm test
FAQs
Apigee Microgateway Handler
The npm package microgateway-config receives a total of 91 weekly downloads. As such, microgateway-config popularity was classified as not popular.
We found that microgateway-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.