GitHub

Work with your GitHub repositories as upstreams for Bytesafe registries

Integrating GitHub with Bytesafe allows access to GitHub repositories from Bytesafe. After initial setup, the integration handles all authentication and access to GitHub repositories.

Adding the integration makes GitHub repositories selectable as upstreams for all current and future registries for a whole Bytesafe Account (or until the integration is removed or permissions are altered).

In addition to inital support for repositories as upstreams, the integration will allow for dependency analysis of GitHub repositories in the future.

For a general guide on using any Git repositories with Bytesafe, please see the Git repository as upstreams section.

How to add GitHub integration

GitHub integration is manage in the Account settings in the Bytesafe web console. Any user with admin privileges for a Bytesafe account will be able to access account settings after login to web console.

1. Navigate to the GitHub section of the Account settings and proceed by clicking Connect to GitHub. connect to GitHub

With this action the user will be redirected to GitHub for login and authentication.

2. Where do you want to install this integration? - Select GitHub account to install Bytesafe Integration for.

3. Set repository access permissions for the integration. Either select All repositories or configure access for selected repositories only.

4. Done! User will be redirect back to Bytesafe. To add GitHub repositories as upstreams navigate to a registry and add it as upstreams from the drop-down list.

Accessing a GitHub account without administrative access

Granting access to accounts and repositories in GitHub require administrative access to that account. Users that would like to add the Bytesafe integration without administrative access, need to request access through GitHub.

Following the steps above, after requesting access to a GitHub account and repositories, the user will be redirected back to Bytesafe.

To view and edit your active requests for access, select Manage on GitHub in the Bytesafe Account settings to be redirected to GitHub.

Managing GitHub repository access

GitHub allows the user to allow access either to All repositories or selected repositories for a GitHub account. This is initially configured when installing the Bytesafe Integration, but can also be managed in the Bytesafe Integration page on GitHub.

To configure repository access:

  1. Select manage on GitHub in Account settings. This will redirect the user to the Bytesafe Integration page in GitHub.
  2. In the repository access section on the GitHub page, make required changes and select Save.

Removing the GitHub integration

Removal of the GitHub integration from Bytesafe is done on GitHub. This action is linked to the GitHub account that was used to add the integration.

To remove or suspend the integration:

  1. Select manage on GitHub in Account settings. This will redirect the user to the Bytesafe Integration page in GitHub.
  2. Remove or suspend the application by selecting the desired action in the Danger Zone