Skip to content

nevincoco1/snyk-move-all-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

move_projects.py

This is a script to move all projects from one Snyk org to another.

Before you begin:

Ensure you are running a current version of Python. You can get the latest version here.

Open Notepad or similar app and copy the following strings to use later:

Current Org ID

  1. Get the Org ID of the Organization where your projects currently reside.

image

Destination Org ID

  1. Switch to the destination Orgainization and repeat Step 1 to get the Org ID of the Organization where your projects will move to.

Snyk API Token

  1. Finally, copy your Snyk API token.

image image

How to use:

  1. Copy the file move_projects.py to your python environment.
  2. Run the file by typing python move_projects.py or python3 move_projects.py depending on the command to run Python 3 in your environment.
  3. You will be asked to input your Current Org ID, Destination Org ID, and Snyk API Token. (You can just paste these in)
  4. The script will move all projects to the new org and remove them from the current org. It should look similar to this:

image

About

Script to move all projects from one Snyk org to another

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages