
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
cloudelements-dbtool
Advanced tools
This is the Cloud Elements DB tool, which is used to manage cloud-elements data directly.
Install (or update) it globally:
$ npm install -g cloudelements-dbtool
$ npm update -g cloudelements-dbtool
You may also need to set some environment variables: (you could put
these in your ~/.bash_profile or other startup script)
$ export DBTOOL_DB_URL=postgres://username:password@localhost:5432/elements
Once these are sorted, you can use the dbtool from the command line:
$ dbtool <command> [parameters]
For example,
$ dbtool delete-user my.email@somewhere.com
Or, you can use it in your javascript code:
var Dbtool = require('dbtool').Dbtool,
dbUrl = 'postgres://username:password@localhost:5432/elements',
dbtool = new Dbtool(dbUrl),
email = 'my.email@somewhere.com';
dbtool.deleteUser(email, function(err){
if (err != null) {
say("err: ", err);
} else {
say("Delete " + email + " complete");
}
});
FAQs
A simple command-line utility to perform some simple database tasks.
The npm package cloudelements-dbtool receives a total of 1 weekly downloads. As such, cloudelements-dbtool popularity was classified as not popular.
We found that cloudelements-dbtool 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.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

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