Skip to content

snyk-labs/snyk-genbb-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitbucket scanner

Status: Working Progress

This application is to read all the projects and repos in Bitbucket server and generate a json that can be used for API-import tool to import the projects to Snyk

Running

To run, install the dependencies using poetry install, and execute poetry run python src/main.py <args>

Arguments

workspace: Bitbucket Workspace to be mapped to Snyk Organization.

org_id: ID of Snyk Organization to be mapped to.

integration_id: ID of Snyk Bitbucket integration.

Authentication Environment Variables

These environment variables need to be set when executing the script to authenticate with Bitbucket

BITBUCKET_CLOUD_USERNAME - User account to access the APIs. BITBUCKET_CLOUD_PASSWORD - Password for user.

Output

An import targets JSON file that can be directly fed to Snyk API Import Tool to import all repositories in the Bitbucket Workspace into a Snyk Org.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages