New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

nessus-api-client

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nessus-api-client

NodeJS based nessus API client

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

Build Status Coverage Status npm version Downloads Deps bitHound Code Windows Build status Average time to resolve an issue Percentage of issues still open License: MIT

                                                _            _ _            _
                                               (_)          | (_)          | |
 _ __   ___ ___ ___ _   _ ___ ______ __ _ _ __  _ ______ ___| |_  ___ _ __ | |_
| '_ \ / _ / __/ __| | | / __|______/ _` | '_ \| |______/ __| | |/ _ | '_ \| __|
| | | |  __\__ \__ | |_| \__ \     | (_| | |_) | |     | (__| | |  __| | | | |_
|_| |_|\___|___|___/\__,_|___/      \__,_| .__/|_|      \___|_|_|\___|_| |_|\__|
                                         | |
                                         |_|

NodeJS based Nessus Scan API client

Usage

The client's Run method returns a promise so it must either be awaited or have a chained series of thens.

Once the promise resolves you'll get back an array of objects with the scan's name and raw JSON scan results.

let a = new NessusApiClient('http://localhost:3000/', '', '', false);
a.Run()
    .then(function(response) {
        let firstScanObject = response[0];
    })
    .catch(function(error) {
        console.log(error);
    });

OR

let a = new NessusApiClient('http://localhost:3000/', '', '', false),
    scans = await a.Run(),
    firstScanObject = scans[0];

FAQs

Package last updated on 14 Dec 2017

Did you know?

Socket

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.

Install

Related posts