Skip to main content

No project description provided

Project description

Kenna

An API client for Kenna Security

Kenna

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kenna-0.0.4.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kenna-0.0.4-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file kenna-0.0.4.tar.gz.

File metadata

  • Download URL: kenna-0.0.4.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.8.10 Linux/5.11.0-27-generic

File hashes

Hashes for kenna-0.0.4.tar.gz
Algorithm Hash digest
SHA256 9114aba97e3a98c48f68af96c23031688bf479521fa14d5df79f8e81ae5e5292
MD5 ce6bd57d01c893be8b21af665612716d
BLAKE2b-256 dcd3874367a51ea10b16c71996f4eb40add31d0a26c2492971c538942b8d7b85

See more details on using hashes here.

File details

Details for the file kenna-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: kenna-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.8.10 Linux/5.11.0-27-generic

File hashes

Hashes for kenna-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c2dfa1e3eac38c50391b5b933061e397be9725023e4b406b444af00c27597fe2
MD5 69b33f228b5e3b9bf676ce4d49b088ca
BLAKE2b-256 09fb607a18991a0e1dbc812859ad88084e15431e74f059f9a59d9f98d3ce8fca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page