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.10.0.tar.gz (148.0 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.10.0-py3-none-any.whl (195.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for insight_plugin-1.10.0.tar.gz
Algorithm Hash digest
SHA256 bd7ffcbcfc666b5ca4c01711ff948764620b67b2164b03964c2218d5c7a84615
MD5 645c6448aa3e74948433966df1e12063
BLAKE2b-256 ca7c7417d7f89279b15777193250151fe2533ca23e7c0fa2a8dbbeb9c88112c1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for insight_plugin-1.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6263b8b522a09e6415d45ce00e2b29382c9f6f7b21befe50b95688f2d369f0b4
MD5 66610e6838c764cd72e79dc87e543841
BLAKE2b-256 6615a6e60086cb87f55d00654690e12a6944af218d8b1d2635ce663de3c807d6

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