Metadata-Version: 2.1
Name: ivan-pro
Version: 1.1.0
Summary: A command-line interface to Tenable Security Center
Home-page: https://github.com/packetchaos/ivan
Author: Casey Reid
Author-email: itprofguru@gmail.com
License: GNUv3
Keywords: tenable securitycenter ivan tsc,automation
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.0
Description-Content-Type: text/markdown
Requires-Dist: Click >=7.0
Requires-Dist: requests >=2.26.0
Requires-Dist: flask >=1.1.1
Requires-Dist: IPy >=1.0
Requires-Dist: pytenable >=1.4.3
Requires-Dist: arrow >=0.17.0
Requires-Dist: typing-extensions >=4.0.1

# Ivan - The Tenable Security Center Swiss Army Knife
A command-line tool which leverages the Tenable Security Center API to automate common tasks
in Cyber Exposure or Vulnerability Management.

    *** This tool is not an officially supported Tenable project ***

    *** Use of this tool is subject to the terms and conditions identified below,
     and is not subject to any license agreement you may have with Tenable ***

### Installing IVAN

    pip install ivan-pro

### Authenticating to Tenable Security Center

    ivan keys --a <your access key or username> --s <your secret key or password> --h <ipaddresss or FQDN>

### Are my Keys inputted correctly?
In different terminals it can be a challenge to copy the keys to ivan since you can not be sure it copied correctly.

Use the below commands to check your keys

    ivan find query "select * from keys;"

Alternatively, you could try entering your keys again using the '-clear' command to see what is being copied to the screen.

    ivan keys -clear


### Update the Ivan Database

    ivan update vulns

### Query the database directly

    ivan find query "select * from vulns;"

Show me the assets which have docker installed and the containers running

    ivan find query "select asset_ip, plugin_id, output from vulns where plugin_id='93561';"

How many critical vulns do we have?

    ivan find query "select count(*) from vulns where severity='critical';"


### Export data into a CSV

    ivan export query "select asset_ip, plugin_name, description, solution, severity, score from vulns where score <='7';"


