
Research
/Security News
Popular Rust Crates Compromised in Build-Time Supply Chain Attack
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.
cloudelements-cmtool
Advanced tools
This is the Cloud Elements CM tool, which is used to connect with and integrate the various CM applications used by Cloud Elements, such as Git and Pivotal Tracker.
Install (or update) it globally:
$ npm install -g cloudelements-cmtool
$ npm update -g cloudelements-cmtool
You may also need to set some environment variables: (you could put
these in your ~/.bash_profile or other startup script)
$ export CMTOOL_GIT_DIR=/path/to/git/repo
$ export CMTOOL_PIVOTAL_TOKEN=mypivotaltoken12345abcde
$ export CMTOOL_DB_URL=postgres://user:pass@localhost:5432/dbname
$ export CMTOOL_CONFIG_HOME=/path/to/cmtool_home
Once these are sorted, you can use the cmtool from the command line:
$ cmtool <command> [parameters]
For example,
$ cmtool release-notes 1.10 1.11
$ cmtool qa-label "release-1.10" "qa environment"
$ cmtool get-props
$ cmtool put-props
$ cmtool one-shot uptime snap
$ cmtool delete-user ozchaz@gmail.com
Or, you can use it in your javascript code:
var cmtool = require('cloudelements-cmtool'),
git = new cmtool.Git,
pivotal = new cmtool.Pivotal('my-pivotal-token'),
cart = new cmtool.Cart(pivotal, git);
process.chdir('path/to/git/repo');
cart.changeLog('1.10', '1.11', function(err, stories) {
console.log("err", err);
console.log("stories", stories);
});
git.log('patch-1.10.6', function(err, entry, done) {
if (err != null) {
console.log("err", err);
} else if (done) {
console.log("done");
} else {
console.log("found commit with hash", entry.hash);
}
});
var cmdStep = cmtool.homie.cmdStep,
task = {
name: 'one-shot',
usesConn: true,
ccb: function(err) {
if (err != null) {
console.warn("Connection error: ", err);
}
},
steps: [cmdStep('command', 'uptime')]
};
cmtool.homie.runTaskOn(task, 'all');
var dbUrl = 'postgres://user:pass@localhost:5432/dbname',
dbtool = new cmtool.Dbtool(dbUrl),
email = 'my.email@somewhere.com';
dbtool.deleteUser(email, function(err){
if (err != null) {
say("err: ", err);
} else {
say("Delete " + email + " complete");
}
});
FAQs
An integrated client for CE CM apps.
We found that cloudelements-cmtool 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.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.

Research
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.

Security News
NIST disclosed an unreleased AI tool called V-etalon and opened a broad inquiry into NVD modernization after years of automation plans produced no public enrichment system.