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.25.tar.gz (147.7 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.25-py3-none-any.whl (195.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: insight_plugin-1.9.25.tar.gz
  • Upload date:
  • Size: 147.7 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.25.tar.gz
Algorithm Hash digest
SHA256 8de75a122978e5af185d0aa7161740535d0ad6c963bda1344567782c2303da81
MD5 466b88f0182c657a0863b0a75b1a8c4b
BLAKE2b-256 af1e7ef16a13e3a97d9be2468c8e9a8c42847f2941aea1f81602dc08d4bd8ddd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for insight_plugin-1.9.25-py3-none-any.whl
Algorithm Hash digest
SHA256 6c4902964310bf26f5efa0e948d584b3fc824dfbaf6f3441668696084e616b28
MD5 8b1c4e92c5741c7eea2d78c17000bd3d
BLAKE2b-256 2ee5b2ed271eae6a22a72cd289e9ed04550eca77bac89b232fa1e6a4bdf695e4

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