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