Validator tooling for InsightConnect integrations
Project description
InsightConnect Integrations Validators
Tooling with a bundled suite of validator rules for ensuring quality across Rapid7 InsightConnect integrations.
Installation
pip install insightconnect-integrations-validators
Use
Simple!
Command
icon-validate my_plugin_directory/
or
icon-validate my_plugin_directory/ --all
to run entire set of validators used in our CI.
Omitting --all
is often helpful when developing.
Python
from icon_validator.validate import validate
validate("/path/to/plugin/directory")
or
validate("/path/to/plugin/directory", run_all=True)
to simulate the --all
flag.
Changelog
- 2.1.2 - Fix issue where resources validator would always raise an exception
- 2.1.1 - Update RequiredKeysValidator to validate the correct products key and empty resources keys
- 2.1.0 - Update Golang RegenerationValidator
- 2.0.2 - Update HelpValidator to fix error messaging
- 2.0.1 - Update UseCaseValidator valid use case list
- 2.0.0 - Update Help Validator to use new help format | Update RequiredKeys Validator for new spec fields | Add validator rule: use case validation
- 1.3.0 - Add --all flag to run entire set of validators, add Confidential Validator, Regeneration Validator clean up
- 1.2.0 - Add regeneration validator jenkins support
- 1.1.8 - Add regeneration validator
- 1.1.7 - Remove false positive "SPAM" entry from the Acronym Validator
- 1.1.6 - Improved Output validator
- 1.1.5 - Remove Makefile validator rule, fix rules import
- 1.1.4 - Move
rules
package insideicon_validator
- 1.1.3 - Ignore unit test directories (/unit_test & /unit_tests) in Exception Validator
- 1.1.2 - Fix for Acronym and Output validators
- 1.1.1 - Removed breaking changes to Makefile validator
- 1.1.0 - Add validator rules: check for help.md, profanity check,
acronym capitalization check,
print
usage check, JSON tests, exceptions, credentials, passwords | Updated rules: Makefiles, logging - 1.0.0 - Initial release
PyPi.org link: https://pypi.org/project/insightconnect-integrations-validators/
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
Close
Hashes for insightconnect_integrations_validators-2.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d76f5060c28364dc4586185bb5e1611331b0fd7b00e7864d6656f1e4a8ed74e1 |
|
MD5 | 182d7761dfb92df4d3f7e369441fcf84 |
|
BLAKE2b-256 | cbefd3d93308736cf0c4792986d4d87a36d32bd31de249eb4605812201d4f963 |
Close
Hashes for insightconnect_integrations_validators-2.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69787e9bd820aba21d21121b246356225d0dc7b6c1c0de25a4ebe572d9c18a7c |
|
MD5 | cdc5c90358d3bc45740abb52a985fbef |
|
BLAKE2b-256 | df2b0fa5e88b08a015868a69b5e511f81a3c8e4c967967c31891c66cb90b47b5 |