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)
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.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d62c3d7e9460d2a51ffd96d7c05d3dec7b058ca1f1b4409201546bbdbd52d81 |
|
MD5 | 2e35a847e217ef2bc6aa6044b8e8205e |
|
BLAKE2b-256 | 5cd5920f1d8830539a68c522cf1337950bb9c10f0982519e0c59e354cbbe4912 |
Close
Hashes for insightconnect_integrations_plugin_spec_tooling-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdbdf254446d2d39b884289bec46d033bf58c5370f4cb4cf33fd7504b5253c05 |
|
MD5 | ead5b22f41390f16e840ad54d99aa1b4 |
|
BLAKE2b-256 | 69b71520cb1679b27aa81c4f0be2694d23575bfdb88adb8189ba8e8829083062 |