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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec078bbf7afb3f87e9766374914d37cc23a41a4c5a0f29de218d752f48e37724 |
|
MD5 | e651253ae7b3efd1a9e30367c2aafe8f |
|
BLAKE2b-256 | f0761a5d6cebdbede6271fceda1f94b9538f0f27817bb75d194bd9c57c8e0257 |
Close
Hashes for insightconnect_integrations_plugin_spec_tooling-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cc6e79892638e77de85a6cf9c8d66dd78ad4dbd99e7056f8c683488bcf7df76 |
|
MD5 | 40c412fc884ae602e296d258f08c5d65 |
|
BLAKE2b-256 | 2719e52996cf27c65fe762c37888005ce37fb169533b66edf0dc29f9bf424c56 |