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 import plugin_spec
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 854505d2545749f4454a1b29f3bd2304512e7ac16025284b49f8502550e61d82 |
|
MD5 | 79c71a4fba2453c54b6e301c5e8a03af |
|
BLAKE2b-256 | c7b5211bcf6936d0565272c61bffebf91200f133d603d580b46e00eb1e56a8f3 |
Close
Hashes for insightconnect_integrations_plugin_spec_tooling-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e9150223a88aa79f7f542421d3f48c2f7b09128df887b7ec12d4b2f518fd136 |
|
MD5 | 354f144283835e563a86dc8ab6df48e2 |
|
BLAKE2b-256 | 1a0233b649cccfadbf61a7d9947caf352c0a227a04e0a0a9451aaeb1c68e9b30 |