Skip to content

ArctiqTeam/t-snyk-file-generate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Generate .snyk File from API Response

This Python script fetches data from the Snyk API and generates a .snyk file with specific fields.

Prerequisites

  • Python 3.x
  • requests library (pip install requests)

Getting Started

  1. Clone the repository or download the snyk_file_generate.py file.

  2. Install the required dependencies using the following command:

pip install requests
  1. Replace the placeholders in the code:
  • [org_id] with your Snyk organization ID
  • [project_id] with your Snyk project ID
  • [token] with your Snyk API token
  1. Run the script:
python script.py
  1. The script will make an API request to retrieve the initial text from the Snyk API and generate a .snyk file with the relevant information.

  2. Once the script execution is complete, you will see a message indicating the successful generation of the .snyk file.

About

Generated .snyk file from Git imported porject

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages