Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
config_kit is a tool to manage the application configuration using consul as back service as configuration store, and support configuration versioning, rollout or rollback control.
To understand config_kit, first we need to understand basic configuration management approaches using in config_kit. Next we will provide quick starting for you to experience config_kit functionalities.
config_kit provides command line(ck) to init, bootstrap, deploy, rollout, rollback for appication configuration
ck init -n 'moidc' -e 'Laxino.MO.Staging' -c 'stg0'
describe all information of configuration
ck describe
describe one application information of configuration
ck describe --app axle
describe specified version of an application of configuration
ck describe --app axle --version 1.0.0
get current version full configuration information
ck get
get current version full configuration information and output to yaml format
ck get -o yaml
get current version full configuration of an application
ck get --app axle -o yaml
get specify version configuration of an application
ck get --app axle --version 1.0.0 -o yaml
bootstrap from file
ck bootstrap --from-file file:///config/int0 --app all --version 1.0.0
bootstrap from git
ck bootstrap --from-git ssh://git_repository/config.git --app all --version=1.0.0
deploy: deploy is not only to creat a application configuration, but also set as default configuration for active after deploy
rollout: rollout is to activate specified version.
rollback: TBD
To setup consul, we using docker to run a testing consul server, if you need a consul server in production, pls using stack file in cluster folder.
docker container run -d --name=consul -p 8400:8400 -p 8500:8500 -p 8600:53/udp consul
You can open urs http://localhost:8500 to access UI of consul
To create configuration data, pls refere to README in config folder, and two configuration data for axle and infra is placed in same folder as well.
In order to simplified process for new user, we have default settings in config_kit to shorten start step for new user.
In config_kit
Assume consul container is up and running, so we can use deploy command to deploy the first configuration in config folder
ck bootstrap
Then open http://localhost:8500 to check the configuration data.
Pls let me know if you have any problems.
FAQs
Unknown package
We found that config_kit demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.