Configure GitHub Posting User
The service interfaces with users in GitHub projects through a "HackerOne" member of your GitHub team. So a GitHub user must be created and configured as a Posting or Service user.
Last updated
The service interfaces with users in GitHub projects through a "HackerOne" member of your GitHub team. So a GitHub user must be created and configured as a Posting or Service user.
Last updated
The GitHub posting user must be created by an individual on your team with the following administrative permissions:
Log in to your GitHub instance as an administrator and create a new user with the username HackerOne or PullRequest. HackerOne Code will use this user to post scan results and validated issues.
***We strongly recommend adding the following image as the posting user's avatar. This provides a much better end-user experience; it allows the service to be easily identified in the GitHub interface:
Add the posting or services user you created for HackerOne Code to all of the organizations/repositories you want code review on. Be sure to grant the user WRITE access so it's able to list repository collaborators and post comments.
Read more about the permissions HackerOne Code requires and how we use them .
Log into GitHub as the HackerOne Code user you just created.
Open Settings -> Developer settings -> Personal access tokens. This should be accessible from the following path using your own instance's domain instead of our-github.internal
:
Click Generate new token and create a Personal Access Token with the following properties:
Once generated, copy the personal access token to your clipboard so we can configure the connection to GitHub.
Now, it's time to return to that text file we're editing on the proxy server. Go ahead and set the following keys based on what was configured above.
Make sure the GitHub URL represents the path to the version 3 of the GitHub API
Make sure the HackerOne Code Posting User's username is spelled exactly as the username of the user that was created. We highly recommend "HackerOne" (all one word, PascalCase) to maintain communication consistency.