intigriti-cicd-plugin

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2020 License: Apache-2.0

README

intigriti-cicd-plugin

Tool that can block your CI/CD pipeline depending on outstanding (open) intigriti issues.

Setup

  1. Download the latest icp release.
  2. Retrieve your intigriti API token and pass your (external) IP address for whitelisting.
  3. Create your configuration file:
# your intigriti API credentials
intigriti_client_id: "XXXXXXXXXXX"
intigriti_client_secret: "XXXXXXXXXXX"

# what maximum amount of findings you tolerate per severity
tresholds:
  # we allow no criticals
  critical: 0
  # we allow no highs
  high: 0
  # we allow 1 medium
  medium: 1
  # we allow arbitrary amount of lows
  low: 100000
  1. Run icp in your CI/CD pipeline with arguments:
./icp -conf=my-conf.yml
  1. icp will return an error code whenever your defined tresholds are set, stopping your pipeline.

Building

This requires make and go to be installed. Just run make.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL