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 file
To import from your github, FOSSA requires the following permissions:
repouserwrite:repo_hookread:orgadmin:org_hook
For more information on these permissions, view the Github docs
To import from your bitbucket, FOSSA requires the following permissions:
AccountTeam membershipProjectsRepositoriesPull requestsIssuesSnippetsWebhooksPipelines
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