The instructions on this page describe how to configure your GitHub Enterprise workspace in preparation for setting up the GitHub Enterprise Beat.
Prerequisites
-
Allow access to your GitHub server addresses over SSL.
-
Ensure that you have a GitHub Enterprise account with an enterprise owner role.
-
Ensure that you have the read:audit_log permission for generating the personal access (classic) token.
Configure the Personal Access Token
Use the following steps to obtain a personal access token in preparation for setting up the GitHub Enterprise beat.
-
Log in to the GitHub Enterprise owner account.
-
On your profile page, in the upper right corner, click the profile image, then click Settings.
-
In the left pane, navigate to Developer Settings.
-
Under Personal access tokens, click Tokens (classic).
-
Select Generate new token, and click Generate new token (classic).
-
Enter a unique Name for your token.
-
Select the default Expiration option, or enter a custom date.
-
Assign the scope or token permission read:audit_log for the collector to retrieve events.
For more information, see Scopes for OAuth apps in the GitHub documentation.
-
Click Generate new token.
-
Copy the token to a secure location.
For more information, refer to the Personal Access Token related information in the GitHub documentation.
Once this window is closed, the Token cannot be viewed again.