Skip to content

iuriikogan-snyk/deactivate-reactivate-all-projects

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

deactivate-reactivate-all-projects

The purpose of this script is to run through Snyk Orgs to deactivate and reactivate all projects within. This will help rebuild the webhooks for SCM integration(s).

Usage

  1. Clone this repository locally

  2. (Optional) Define your Snyk API token (You can find your token in your General Account Settings after you login to Snyk.)

export SNYK_TOKEN={API_TOKEN}
  1. Install required pip packages
pip install -r requirements.txt
  1. Run the main.py script - define all required org(s) in the --orgs argument
python3 main.py --orgs "org-slug-1 org-slug-2"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%