Plugin tooling for the Rapid7 Insight platform
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.
Linter
Run the linter check on the plugin.
This command will run the black
linter on the plugin and return any
formatting issues with 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
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.
Semver
Update the plugin versioning.
This command should be run after finalizing any updates, defect fixes or new functionality, to update the versioning
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
View
Run a docker command to get an overview of a plugin.
Project details
Release history Release notifications | RSS feed
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
Hashes for insight_plugin-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15479b3852f205b118c401b14f9cc511c2cfc2174ebd284f75262d9d95c83328 |
|
MD5 | dac8de8c2285a0e77468b4199ecaa797 |
|
BLAKE2b-256 | 91cbc69055ad08ea2e95fa669097eeb2bff73a2cbf37b1f931398625ded29c07 |