A Snyk tool that uses its API to automate various jobs like puling a list of issues, ignoring them, corelating them with projects and more. The project is still in its infancy and I'm building it based on my needs but feel free to request new functionality.
API Documentation that is used for this tool: https://snyk.docs.apiary.io/#
https://github.com/madalin-dogaru/snyker.git
pip install -r requirements.txt
Both variables below are found in snyker.py
.
org_id = "org_id_value"
Its the Organization ID found in Snyk, under organization/settings.api_token = "api_token_value"
Its your personal API Token found in your Snyk account.
List all Project IDs and their paths/names for a specific organization.
python3 -snyker.py -lpid
List all critical vulnerabilities, in the following format, for all projects in an organization:CVE:Critical_Severities:Issue_ID.
python3 -snyker.py -lpcve
Ignore a specific Issue for a specific Project based on the Issue ID.
python3 -snyker.py -ii project_id issue_id
Ignore a specific issue for multiple projects, which are listed one per line in a file.
python3 -snyker.py -mii issue_id file_name