Skip to main content

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.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.

Files for insightconnect-integrations-plugin-spec-tooling, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size insightconnect_integrations_plugin_spec_tooling-1.1.0-py3-none-any.whl (5.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size insightconnect_integrations_plugin_spec_tooling-1.1.0.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page