Skip to content

snyk-labs/add-ignore-reason-to-csv-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add ignore data to Snyk ignore report

This script will read in an ignore csv from Snyk reporting dashboard. First you'll need to go to the group or organization reporting page. Select the Issue Status dropdown menu and then select Ignored. Next select Download CSV and set the CSV_PATH environment to the full path of it.

Requirements

Python version 3.9.5, 3.10.0

Environment Variables

Required Environment Variables:

SNYK_TOKEN

CSV_PATH (Specify full path to csv file)

Optional Environment Variables:

SNYK_API_URL

Example run

export SNYK_TOKEN=TYPE-SNYK-TOKEN-HERE
export CSV_PATH=FULL-PATH-TO-CSV
export SNYK_API_URL="https://api.snyk.io"
git clone https://github.com/snyk-labs/add-ignore-reason-to-csv-report.git
pip install -r requirements.txt
python3 index.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages