++ed by:
GDT

1 PAUSE user

Giuseppe Di Terlizzi

NAME

sc-api - Tenable.sc (SecurityCenter) API command line interface

SYNOPSIS

    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

        

DESCRIPTION

sc-api Tenable.sc (SecurityCenter) API command line interface.

COMMANDS

analysis

See Net::SecurityCenter::Analysis class.

credential

See Net::SecurityCenter::Analysis class.

feed

See Net::SecurityCenter::Feed class.

file

See Net::SecurityCenter::File class.

plugin

See Net::SecurityCenter::Plugin class.

plugin-family

See Net::SecurityCenter::PluginFamily class.

policy

See Net::SecurityCenter::Policy class.

report

See Net::SecurityCenter::Report class.

repository

See Net::SecurityCenter::Repository class.

scan

See Net::SecurityCenter::Scan class.

scan-result

See Net::SecurityCenter::ScanResult class.

scanner

See Net::SecurityCenter::Scanner class.

system

See Net::SecurityCenter::System class.

user

See Net::SecurityCenter::User class.

zone

See Net::SecurityCenter::Zone class.

OPTIONS

--help

--man

--version

OUTPUT FORMATS

sc-api can export the Tenable.sc API output in different format (CSV, TSV, Table, JSON, YAML, Dumper).

CONFIGURATION FILE

Sample configuration file:

    [SecurityCenter]
    hostname = tenable-sc.example.org
    username = secman
    password = mypass

AUTHOR

Giuseppe Di Terlizzi

COPYRIGHT AND LICENSE

Copyright © 2018-2019 Giuseppe Di Terlizzi

You may use and distribute this module according to the same terms that Perl is distributed under.