Plugin spec parser tooling for InsightConnect integrations
Project description
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.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
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
Built Distribution
Close
Hashes for insightconnect_integrations_plugin_spec_tooling-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | afcfd5e3335308267cfe5c21c03a0f441a14cabab2ed6864c70d993d2f94400f |
|
MD5 | 7c5f1b665f61063b929bdc6649e7abc9 |
|
BLAKE2b-256 | 37a049050d2e6bb12fe82af739742444b5bd1529d285229db80cc987eba6b1de |
Close
Hashes for insightconnect_integrations_plugin_spec_tooling-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe2f590e1763133c2a2cab45f3f28bfd65e74d68c0eade62be87fb4716afec7 |
|
MD5 | 1a2feb5ba3cc562d442a9cdfb45e3c0c |
|
BLAKE2b-256 | ad158793a60f7beaa1eda1f17462ba061b08c0b2712dd19396ef70535892e3b2 |