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
File details
Details for the file insight_plugin-1.5.1.tar.gz
.
File metadata
- Download URL: insight_plugin-1.5.1.tar.gz
- Upload date:
- Size: 71.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f856f7b6e204a49d28d258ede788ce15bd851a92d86ac8aa28cc3fdb8f5dc14 |
|
MD5 | 63babbd00e2d0fed1ebb5a0ea7f5ac0a |
|
BLAKE2b-256 | dcc13d6f036bc4719c84aa39f276cfc6df084087d37de2c456444649f425515a |
File details
Details for the file insight_plugin-1.5.1-py3-none-any.whl
.
File metadata
- Download URL: insight_plugin-1.5.1-py3-none-any.whl
- Upload date:
- Size: 112.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aafc3a8230d144cb49ad0f3c46056709e196e225244fe4743ea9f57aede31f7e |
|
MD5 | aef7d15f4b4e62f6846d0b9a39af8f0b |
|
BLAKE2b-256 | 241f98a6e9daa26991b6c03df8def54290c8712faafb6f1f16c29a16e3e6eb6f |