Skip to main content

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.3.0 - Add changelog validator
  • 2.2.0 - Using argparse module to handle arguments and provide -h option
  • 2.1.6 - Fix issue where ID was an acronym
  • 2.1.5 - Fix issue where confidential validator was not checking against provided whitelist
  • 2.1.4 - Fix issue where confidential validator was triggering on remediated findings and updated formatting
  • 2.1.3 - Update Exception Validator to throw warning
  • 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 inside icon_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

This version

2.3.0

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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file insightconnect_integrations_validators-2.3.0.tar.gz.

File metadata

  • Download URL: insightconnect_integrations_validators-2.3.0.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.39.0 CPython/3.6.5

File hashes

Hashes for insightconnect_integrations_validators-2.3.0.tar.gz
Algorithm Hash digest
SHA256 2f3646b553207aee1615e3df1fb2ffe447c8e16a16e3a46af40548617b432032
MD5 28f51d202b75c76047d572ae8085d958
BLAKE2b-256 f96e03cdf8ec56cdb62deefc9eafa436ceb331a647ec654adb43a216b7c6318c

See more details on using hashes here.

File details

Details for the file insightconnect_integrations_validators-2.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for insightconnect_integrations_validators-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 294cc54941d959e173abee22935f154a02b3884ef7224361920ece3ddf2ecb38
MD5 5dba43ff1214c6eb2d4767f30f9e2d1b
BLAKE2b-256 1273bf6e29f115047fe3849e451f9923af54919c2ea2d1bd454c2e9a53441d3e

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