- 1 Minute To Read
GitHub provides hosting for software development version control using Git, including distributed version control and source code management (SCM) functionality.
Types of Assets Fetched
This adapter fetches the following types of assets:
- GitHub Domain (required, default: https://api.github.com) - The hostname or IP address of the GitHub server.
- Organization (required) - The organization for the GitHub account.
- Authorization Token (required) - Specify the personal access token that has read access. For details, see
- Verify SSL (required, default: False) - Verify the SSL certificate offered by the value supplied in GitHub Domain. For more details, see SSL Trust & CA Settings.
- If enabled, the SSL certificate offered by the value supplied in GitHub Domain will be verified against the CA database inside of Axonius. If the SSL certificate can not be validated against the CA database inside of Axonius, the connection will fail with an error.
- If disabled, the SSL certificate offered by the value supplied in GitHub Domain will not be verified against the CA database inside of Axonius.
- HTTPS Proxy (optional, default: empty) - A proxy to use when connecting to the value supplied in GitHub Domain.
- If supplied, Axonius will utilize the proxy when connecting to the value supplied in GitHub Domain.
- If not supplied, Axonius will connect directly to the value supplied in GitHub Domain.
- For details on the common adapter connection parameters and buttons, see Adding a New Adapter Connection.
Axonius uses the GitHub API.
Creating the Authorization Token
To create a personal access token:
- From GitHub, Go to Settings -> Developer Settings -> Personal access token.
- Generate a new token and then give the following read-only permissions:
- To use a personal access token with an organization that uses SAML single sign-on (SSO), you must first authorize the token. For details, see GitHub Docs - Authorizing a personal access token for use with SAML single sign-on.