Perl interface to Tenable.sc (SecurityCenter) REST API
View the Project on GitHub giterlizzi/perl-Net-SecurityCenter
Net::SecurityCenter::API::System - Perl interface to Tenable.sc (SecurityCenter) System REST API
use Net::SecurityCenter::REST;
use Net::SecurityCenter::API::System;
my $sc = Net::SecurityCenter::REST->new('sc.example.org');
$sc->login('secman', 'password');
my $api = Net::SecurityCenter::API::System->new($sc);
$sc->logout();
This module provides Perl scripts easy way to interface the System REST API of Tenable.sc (SecurityCenter).
For more information about the Tenable.sc (SecurityCenter) REST API follow the online documentation:
https://docs.tenable.com/sccv/api/index.html
Create a new instance of Net::SecurityCenter::API::System using Net::SecurityCenter::REST class.
DEPRECATED use Net::SecurityCenter::API::Status->status method.
=head2 get_info (DEPRECATED)
Gets the system initialization information.
# Get all Tenble.sc debug informations
my @debug = $sc->debug;
# Check scan debug flag
if ($sc->debug( id => 60 )->{enabled} eq 'true' ) {
say "Scan Debug enabled!";
}
# Get all "common" debug category
my @common = $sc->debug( category => 'common' );
Params:
id
: ID of debug itemname
: Name of categorycategory
: Debug categoryGets the system diagnostics information.
Starts an on-demand, diagnostics analysis for the System that can be downloaded after its job completes.
Starts an on-demand, diagnostics analysis for the System that can be downloaded after its job completes.
Downloads the system diagnostics, debug file that was last generated.
Please report any bugs or feature requests through the issue tracker at https://github.com/giterlizzi/perl-Net-SecurityCenter/issues. You will be notified automatically of any progress on your issue.
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/giterlizzi/perl-Net-SecurityCenter
git clone https://github.com/giterlizzi/perl-Net-SecurityCenter.git
This software is copyright (c) 2018-2021 by Giuseppe Di Terlizzi.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.