sc-api - Tenable.sc (SecurityCenter) API command line interface
sc-api [COMMAND] [OPTIONS] Commands: analysis credential feed file plugin plugin-family policy report repository scan scan-result scanner system user zone Options: --help Brief help message --man Full documentation --verbose Print more info during run --hostname Tenable.sc (SecurityCenter) host/IP address --username Username --password Password --config [FILE] Configuration file --format [TYPE] Output format (default: json) - json (require JSON or JSON::XS modules) - dumper (Data::Dumper) - csv (Comma Separated Values) - tsv (Tab Separated Values) - table - yaml (require YAML or YAML::XS modules) --table Table output format (--format=table) --csv CSV output format (--format=csv) --tsv TSV output format (--format=tsv) --dumper Data::Dumper format (--format=dumper) --json JSON output format (--format=json) --yaml YAML output format (--format=yaml) Examples: Download a plugin from Tenable.sc: sc-api plugin download id=19506 View Tenable.sc policy: sc-api policy get id=1
sc-api Tenable.sc (SecurityCenter) API command line interface.
sc-api
See Net::SecurityCenter::Analysis class.
See Net::SecurityCenter::Feed class.
See Net::SecurityCenter::File class.
See Net::SecurityCenter::Plugin class.
See Net::SecurityCenter::PluginFamily class.
See Net::SecurityCenter::Policy class.
See Net::SecurityCenter::Report class.
See Net::SecurityCenter::Repository class.
See Net::SecurityCenter::Scan class.
See Net::SecurityCenter::ScanResult class.
See Net::SecurityCenter::Scanner class.
See Net::SecurityCenter::System class.
See Net::SecurityCenter::User class.
See Net::SecurityCenter::Zone class.
sc-api can export the Tenable.sc API output in different format (CSV, TSV, Table, JSON, YAML, Dumper).
Sample configuration file:
[SecurityCenter] hostname = tenable-sc.example.org username = secman password = mypass
Giuseppe Di Terlizzi
Copyright © 2018-2019 Giuseppe Di Terlizzi
You may use and distribute this module according to the same terms that Perl is distributed under.
To install Net::SecurityCenter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::SecurityCenter
CPAN shell
perl -MCPAN -e shell install Net::SecurityCenter
For more information on module installation, please visit the detailed CPAN module installation guide.