export BITBUCKET_SERVER_TOKEN=***
and export SNYK_TOKEN=***
snyk-api-import orgs:data --source=bitbucket-server --groupId=<snyk_group_id>
Full instructions: Creating organizations in Snyk​snyk-api-import orgs:create --file=orgs.json
By following the full instructions on Creating organizations in Snyk you will create a snyk-created-orgs.json
file with Snyk organization ids and integration ids that are needed for import.snyk-api-import import:data --orgsData=snyk-created-orgs.json --source=bitbucket-server --integrationType=bitbucket-server
Full instructions: Creating imports targets data for import​export BITBUCKET_SERVER_TOKEN=***
and export SNYK_TOKEN=***
--skipEmptyOrg
snyk-api-import orgs:data --source=bitbucket-server --groupId=<snyk_group_id> --skipEmptyOrg
Full instructions: Creating organizations in Snyk​--noDuplicateNames
parameter snyk-api-import orgs:create --file=orgs.json --noDuplicateNames
By following the full instructions on Creating organizations in Snyk you will create a snyk-created-orgs.json
file with Snyk organization ids and integration ids that are needed for import.snyk-api-import import:data --orgsData=snyk-created-orgs.json --source=bitbucket-server --integrationType=bitbucket-server
Full instructions: Creating import targets data for import​snyk-api-import-macos list:imported --integrationType=<integration-type> --groupId=<snyk_group_id>
Full instructions: Kicking off an import``