Python wrapper for Tenable SecurityCenter API.
Project description
A powerful wrapper around the SecurityCenter API. Manages authentication, building requests, and interpreting responses. Supports the full, unpublished API, above the limited API officially documented. The “module::action” pattern of the API is represented as dotted access to attributes and methods on the client.
Install:
$ pip install SecurityCenter
Use:
>>> from securitycenter import Client >>> client = Client('https://localhost:443', 'user', 'password', 'cert_file.crt') >>> scan_results = client.scan_result.init()
Many actions return more than the specifically requested data. For example, scanResult::init returns information including users and scanners as well. Many methods are configured to extract the most common value (in the example, the scan results). If a method extracts a value by default, pass _key=None to return the full response instead.
Links
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.
Source Distribution
Built Distribution
Hashes for SecurityCenter-1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9d588d99cc53510f9b5b427559945d5e28a0c242c76d943865d067259a43e41 |
|
MD5 | 6429b27499daaebe3f19780180439f3c |
|
BLAKE2b-256 | 93fdd19668991f141135c1a4e2b89d3b0c9b403e24e286fea820c10aa44a7c58 |