No project description provided
Project description
Kenna
An API client for Kenna Security
Installation
To install using pip
:
$ pip install kenna
To install from source using poetry
$ git clone git@github.com:whitfieldsdad/python-kenna-api-client.git
$ poetry install
To install from source using setup.py
:
$ git clone git@github.com:whitfieldsdad/python-kenna-api-client.git
$ python3 setup.py install
Required environment variables
The following environment variables are required:
$KENNA_API_KEY
Tutorials
The following general options are available:
$ poetry run kenna
Usage: kenna [OPTIONS] COMMAND [ARGS]...
Options:
--api-key TEXT
--region TEXT
--help Show this message and exit.
Commands:
applications
assets
connector-runs
connectors
dashboard-groups
fixes
roles
users
vulnerabilities
If you're not using poetry
, you can access the command line interface as follows:
$ python3 -m kenna.cli
Applications
The following options are available when listing applications.
$ poetry run kenna applications
Usage: kenna applications [OPTIONS] COMMAND [ARGS]...
Options:
--application-ids TEXT
--application-names TEXT
--help Show this message and exit.
Commands:
count-applications
get-applications
Assets
The following options are available when listing assets:
$ poetry run kenna assets
Usage: kenna assets [OPTIONS] COMMAND [ARGS]...
Options:
--asset-ids TEXT
--asset-names TEXT
--help Show this message and exit.
Commands:
count-assets
get-assets
Connectors
The following options are available when listing connectors:
$ poetry run kenna connectors
Usage: kenna connectors [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
count-connectors
get-connectors
Dashboard groups
The following options are available when listing dashboard groups:
$ poetry run kenna dashboard-groups
Usage: kenna dashboard-groups [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
count-dashboard-groups
get-dashboard-groups
Fixes
The following options are available when listing fixes:
$ poetry run kenna fixes
Usage: kenna fixes [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
count-fixes
get-fixes
Users
The following options are available when listing users:
$ poetry run kenna users
Usage: kenna users [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
count-users
get-users
Vulnerabilities
The following options are available when listing vulnerabilities:
$ poetry run kenna vulnerabilities
Usage: kenna vulnerabilities [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
count-vulnerabilities
get-cves
get-vulnerabilities
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.