HackerOne Code Review (Azure DevOps)
  • Introduction
  • Create Account & Organization
  • Installing the PullRequest Proxy
  • Configuring your Proxy to Connect to the Code Review Server
  • Configure Posting User
    • Configure Azure DevOps Posting User
  • Configuring SSL
  • Start the PullRequest Proxy
  • Verify Data on PullRequest
  • Configure Webhooks
    • Configure Azure DevOps Webhooks
  • Assigning Pull Requests with Posting User
  • Upgrading the PullRequest Proxy
Powered by GitBook
On this page
  • Server install
  • Install necessary packages
  • Create Service User
  • Installing the proxy

Installing the PullRequest Proxy

After your organization has been created by a HackerOne team member, you should receive a link via email (or other specified delivery) containing the PullRequest Proxy package tarball.

Server install

The instructions below outline how to install the PullRequest Proxy on a fresh server. The assumed flavor of Linux is Amazon Linux 2, but you can modify the instructions to apply to your flavor of Linux. The commands themselves assume you're running as the root user.

Install necessary packages

The PullRequest Proxy doesn't have many dependencies as it is distributed as an executable binary. However, it does require that the git utility is installed.

yum install -y git

Create Service User

Best practices dictate that each service should have its own user running it. Let's go ahead and create a PullRequest user. The commands bellow will create the pullrequest user and locking the account to prevent logins as the user.

useradd pullrequest
usermod -L pullrequest

Installing the proxy

Next, we need to assume the role of the pullrequest user for this portion of the installation process.

su pullrequest

Then run the following commands as the pullrequest user.

cd $HOME
curl <proxy_url> --output - | tar zxvf -
cd pullrequest_proxy

We'll stay logged in as the pullrequest user for the next few steps so that the proxy can now be configured. Go ahead and open the .env file in this directory in your favorite text editor.

vim .env
PreviousCreate Account & OrganizationNextConfiguring your Proxy to Connect to the Code Review Server

Last updated 1 year ago