Giter Site home page Giter Site logo

giterlizzi / perl-net-securitycenter Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 269 KB

Perl interface to Tenable.sc (SecurityCenter) REST API

Home Page: https://metacpan.org/release/Net-SecurityCenter

License: Other

Perl 100.00%
tenable nessus rest api perl securitycenter tenablesc hacktoberfest

perl-net-securitycenter's Introduction

Release Actions Status Actions Status License Starts Forks Issues Coverage Status

Net::SecurityCenter - Perl interface to Tenable.sc (SecurityCenter) REST API

Synopsis

use Net::SecurityCenter;
my $sc = Net::SecurityCenter('sc.example.org') or die "Error: $@";

$sc->login(username => 'secman', password => 's3cr3t');

if ($sc->error) {
  print "Failed login: " . $sc->error;
  exit 0;
}

my $running_scans = $sc->scan_result->list_running;

if ($sc->scan_result->status( id => 1337 ) eq 'completed') {
    $sc->scan_result->download( id       => 1337,
                                filename => '/tmp/1337.nessus' );

}

$sc->logout();

Install

Using Makefile.PL:

To install Net::SecurityCenter distribution, run the following commands.

perl Makefile.PL
make
make test
make install

Using App::cpanminus:

cpanm Net::SecurityCenter

Documentation

Copyright

  • Copyright 2018-2021 © Giuseppe Di Terlizzi
  • Nessus®, Tenable.sc® and SecurityCenter® is a Registered Trademark of Tenable®, Inc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.