Skip to content

dylansnyk/gitlab-default-branch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Reimport GitLab Projects to Snyk

Usage

Clone the repo:

git clone https://github.com/dylansnyk/gitlab-default-branch

Update lines 4-7 of the reimport-repos.py file:

GITLAB_TOKEN = ""   # read_api scope required
SNYK_TOKEN = ""
ORG_ID = ""
INTEGRATION_ID = ""

Run the script:

python3 reimport-repos.py

Result

Before: before

After: Screen Shot 2023-09-27 at 7 58 57 AM

The branch can then be filtered in the Reports: Screen Shot 2023-09-27 at 7 48 21 AM

Notes

  • Currently, this will only perform the action one org at a time.
  • The old branch will not be deleted.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages