Skip to main content

Tooling for developing plugins for InsightConnect

Project description

Insight Plugin - CLI Tooling for plugin development

Commands

Analysis

Run Static Code Analysis on the plugin.

This command will run the static code analysis check on the plugin.

Checks

Run analysis, linter and validate on the plugin.

This will allow you to recreate, locally, all the github checks that get run on plugins.

Create

Create a new plugin.

This command will generate the skeleton folder structure and code for a new plugin, based on the provided plugin.spec.yaml file.

Export

Export a plugin Docker image to a tarball.

This tarball can be uploaded as a custom plugin via the import functionality in the InsightConnect UI.

Refresh

Refresh the plugin.

This command will update the current plugin code, when updates are made in the plugin.spec.yaml file, and will also run 'black' to format the code.

Validate

Validate / Run checks against the plugin.

This command performs quality control checks on the current state of the plugin. This should be run before finalizing any new updates.

Samples

Create test samples for actions and triggers.

This command will create new files under the 'tests' folder which can be used to test each new action/trigger. Note if a file already exists for a particular action/trigger, it will be overwritten.

Run

Run an action/trigger from a json test file (created during sample generation)

Server

Run the plugin in HTTP mode.

This allows an external API testing program to be used to test a plugin

Shell

Run the plugin via the docker shell to enable advanced debugging

Convert Event Source

Convert a RapidKit event source to a plugin

This command will generate the skeleton folder structure and code for a new plugin, based on the provided RapidKit config.yaml file.

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

insight_plugin-1.9.26.tar.gz (147.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

insight_plugin-1.9.26-py3-none-any.whl (195.2 kB view details)

Uploaded Python 3

File details

Details for the file insight_plugin-1.9.26.tar.gz.

File metadata

  • Download URL: insight_plugin-1.9.26.tar.gz
  • Upload date:
  • Size: 147.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for insight_plugin-1.9.26.tar.gz
Algorithm Hash digest
SHA256 d01945f74f5bf91713885386521f17f6aa35c1afccd9202564028a4f5632d0af
MD5 f4566def5097df264d5d193728a4cb5a
BLAKE2b-256 87f7a331efc52622a990d1d0561646ba6a782d9fbf8e6982bc36ce5157858b21

See more details on using hashes here.

File details

Details for the file insight_plugin-1.9.26-py3-none-any.whl.

File metadata

  • Download URL: insight_plugin-1.9.26-py3-none-any.whl
  • Upload date:
  • Size: 195.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for insight_plugin-1.9.26-py3-none-any.whl
Algorithm Hash digest
SHA256 46acb5282d8d1c948e750f368719f2111fd527ee6db92dfefab0e61c6ffd6929
MD5 51a0d1a8bb8334752f86fc252aef1020
BLAKE2b-256 45edf07b6bf38b6451ce26f7ab05b0da2563a6f043af0e9fca22c19944c2d34e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page