Skip to content
Perl interface to Tenable.sc (SecurityCenter) REST API
Perl
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Added "download" method for Analysis API Sep 10, 2019
lib/Net Added "download" method for Analysis API Sep 10, 2019
t
.travis.yml
Changes
INSTALL.md Updated Documentation Feb 20, 2019
LICENSE
MANIFEST Fixed documentation issue and added missing file in MANIFEST Jul 12, 2019
Makefile.PL
README.md Updated README.md May 28, 2019

README.md

Release Build Status License Starts Forks Issues

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('secman', 'password');

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

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

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

    }

    $sc->logout();

Install

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

perl Makefile.PL
make
make test
make install

Copyright

  • Copyright 2018-2019 © Giuseppe Di Terlizzi
  • Nessus®, Tenable.sc® and SecurityCenter® is a Registered Trademark of Tenable®, Inc.
You can’t perform that action at this time.