InsightConnect Integrations Plugin Spec
What this is
A tool for parsing a Rapid7 InsightConnect integration plugin spec file (plugin.spec.yaml) and interacting with it programmatically.
Installation
Install the module via pip
$ pip install insightconnect-integrations-plugin-spec-tooling
Okay great, but how do I use it
Simple!
from typing import Any
from icon_plugin_spec.plugin_spec import KomandPluginSpec, PluginComponent
spec: KomandPluginSpec = KomandPluginSpec(directory="path_to_my_plugin")
raw_connection: {str: Any} = spec.connection() # Dictionary of connection properties
print(raw_connection) # Prints out list of inputs on the connection
# or, do the following
connection: PluginComponent = PluginComponent.new_connection(raw=raw_connection)
print(connection.inputs)
Changelog
- 1.3.2 - Update PyYaml to v6.0.1
- 1.3.1 - Update ruamel.yaml to work with Python 3.9
- 1.3.0 - Add functionality to support plugin tasks
- 1.2.0 - Add functionality to check if a plugin is cloud ready
- 1.1.0 - Add functionality to check if a plugin is obsolete
- 1.0.0 - Initial
Metadata
Release files for insightconnect-integrations-plugin-spec-tooling 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| insightconnect_integrations_plugin_spec_tooling-1.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / insightconnect_integrations_plugin_spec_tooling-1.3.2-py3-none-any.whl
| Download URL | insightconnect_integrations_plugin_spec_tooling-1.3.2-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f7d1f10449abfbb719a15f64cdfdbbe39ea174d908520853e70fc0893e9a21f
|
|
BLAKE2b-256 checksum How to use checksums |
88edd0c7028b8c660ce635242c3bcb8bce400fb0be1bb34f74d952541afacff7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|