Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
node-ssllabs
Advanced tools
Readme
A node.js library for the SSL Labs API.
SSL Labs APIs expose the complete SSL/TLS server testing functionality in a programmatic fashion, allowing for scheduled and bulk assessment. We are making the APIs available to encourage site operators to regularly test their server configuration.
npm install node-ssllabs
var ssllabs = require("node-ssllabs");
ssllabs.scan("www.ssllabs.com", function (err, host) {
console.dir(host);
});
Testing with Mocha and Should.js.
var ssllabs = require("node-ssllabs"),
should = require("should");
describe("www.ssllabs.com", function () {
it("should get an A+", function (done) {
ssllabs.scan("www.ssllabs.com", function (err, host) {
if (err) {
throw err;
}
host.endpoints.forEach(function (endpoint) {
endpoint.grade.should.equal("A+");
});
done();
});
});
});
var ssllabs = require("node-ssllabs");
ssllabs.scan({
"host": "www.ssllabs.com",
"fromCache": true,
"maxAge": 24
}, function (err, host) {
console.dir(host);
});
ssllabs.info(function (err, info) {
console.dir(info);
});
ssllabs.analyze({
"host": "www.ssllabs.com",
"publish": true,
"startNew": true,
"all": "done"
}, function (err, host) {
console.dir(host);
});
ssllabs.analyze({
"host": "www.ssllabs.com",
"fromCache": true,
"maxAge": 72,
"all": "on",
"ignoreMismatch": true
}, function (err, host) {
console.dir(host);
});
ssllabs.getEndpointData({
"host": "www.ssllabs.com",
"s": "64.41.200.100",
"fromCache": true
}, function (err, endpointData) {
console.dir(endpointData);
});
ssllabs.getStatusCodes(function (err, statusCodes) {
console.dir(statusCodes);
});
ssllabs.getRootCertsRaw(function (err, rootCertsRaw) {
console.dir(rootCertsRaw);
});
ssllabs.getRootCertsRaw({
trustStore: 5
}, function (err, rootCertsRaw) {
console.dir(rootCertsRaw);
});
ssllabs.getRootCerts(function (err, rootCerts) {
console.dir(rootCerts);
});
ssllabs.getRootCerts({
trustStore: 5
}, function (err, rootCerts) {
console.dir(rootCerts);
});
As of version 1.1.0, this library will respect your HTTPS_PROXY
environment variable and tunnel all requests to the specified URL. Compatible with all protocols supported by proxy-agent.
As of version 2.1.0, this library will set the proxy agent on each request it makes and will not override the global HTTP agent.
node-ssllabs is available under the MIT License.
scan
function emit events for polling progress2.1.0— April 16, 2020
2.0.0— April 10, 2020
1.1.3— April 10, 2020
1.1.2— May 22, 2019
1.1.1— May 21, 2019
1.1.0— May 4, 2019
1.0.2— May 3, 2019
1.0.1— May 3, 2019
1.0.0— May 3, 2019
0.6.0— May 2, 2019
scan()
trustStore
parameter to the getRootCertsRaw()
callgetRootCerts()
call that returns the data as a plain-old object0.5.0 — July 14, 2016
getRootCertsRaw
normalizeOptions
function0.4.3 — May 1, 2015
0.4.2 — April 27, 2015
info
before calling analyze
in the scan
function0.4.1 — April 27, 2015
scan
function to use analyze
function for dryness0.4.0 — April 23, 2015
startNew
and fromCache
options are both true0.3.0 — April 21, 2015
scan
function to encapsulate protocol usage0.2.0 — April 20, 2015
0.1.0 — April 20, 2015
getEndpointData
api endpoint.getStatusCodes
api endpoint.0.0.1 — April 20, 2015
Initial version
supports two api endpoints, info
and analyze
FAQs
A node.js library for the SSL Labs API.
The npm package node-ssllabs receives a total of 412 weekly downloads. As such, node-ssllabs popularity was classified as not popular.
We found that node-ssllabs 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.