FOSSA supports several different ways of importing your code via Dashboard > Add Project:
FOSSA uses the Oauth API's for each of these services in order to import, which requires users to grant certain permissions to FOSSA.
To import a project from your user/organization, FOSSA will need
.fossaignore
fileTo import from your github, FOSSA requires the following permissions:
repo
user
write:repo_hook
read:org
admin:org_hook
For more information on these permissions, view the Github docs
To import from your bitbucket, FOSSA requires the following permissions:
Account
Team membership
Projects
Repositories
Pull requests
Issues
Snippets
Webhooks
Pipelines
For more information on these permissions, view the Bitbucket docs
To import from your github, FOSSA requires the following permissions:
api
For more information on these permissions, view the Gitlab docs