Skip to content

Commit 23270f0

Browse files
committed
update whitelist IP list
1 parent c14b66f commit 23270f0

File tree

2 files changed

+31
-18
lines changed

2 files changed

+31
-18
lines changed

Diff for: docs/platforms/github-enterprise-server.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar_position: 3
88
:::info
99

1010
This page is for GitHub Enterprise Server (Self-Hosted) users only.
11-
If you're using github.com, [log in to CodeRabbit](https://app.coderabbit.ai)
11+
If you're using `github.com`, [log in to CodeRabbit](https://app.coderabbit.ai)
1212
and add your repositories from there
1313

1414
:::
@@ -163,7 +163,7 @@ Navigate to the **Advanced** tab in the GitHub App and click on the
163163
### **Step 6: Whitelist CodeRabbit IP address**
164164

165165
Use this CodeRabbit IP if your instance requires IP whitelisting
166-
`35.222.179.152/32`
166+
`35.222.179.152/32` and `34.170.211.100/32`.
167167

168168
VPN tunneling is available as an add-on package. Please reach out to us at
169169
[[email protected]](mailto:[email protected]) if you are interested.

Diff for: docs/platforms/self-hosted-gitlab.md

+29-16
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ To initiate the integration, we require specific information. This is essential
1212
for the initial setup of CodeRabbit within your domain. Once this setup is
1313
complete, you can log in directly using the OAuth2 flow.
1414

15-
CodeRabbit supports GitLab `16.x` and above. Version `15.x` may experience unexpected issues such as review comments not being posted or the sign up process not working at all. While we won't block the integration, we recommend upgrading your GitLab instance to obtain the intended experience.
15+
CodeRabbit supports GitLab `16.x` and above. Version `15.x` may experience
16+
unexpected issues such as review comments not being posted or the sign-up
17+
process not working at all. While we won't block the integration, we recommend
18+
upgrading your GitLab instance to obtain the intended experience.
1619

1720
### **Step 1: Getting Started**
1821

@@ -29,7 +32,8 @@ organization and if we find an existing one, we are starting the login process.
2932

3033
![Untitled](/img/integrations/self-hosted-gitlab-host-url.png)
3134

32-
If the self-managed GitLab instance is not found, we initiate the onboarding process, which can be either manual or automated.
35+
If the self-managed GitLab instance is not found, we initiate the onboarding
36+
process, which can be either manual or automated.
3337

3438
### **Step 3: Onboarding Manual or Automated**
3539

@@ -42,31 +46,39 @@ If the self-managed GitLab instance is not found, we initiate the onboarding pro
4246
Admin access token is required to set up a new CodeRabbit bot user within your
4347
self-managed instance. The token is needed only once during the initial setup
4448
process. Once the token is generated, you can set its minimum expiration period.
45-
This is the standard approach used by other products in this category.
46-
This is not automatically installing the CodeRabbit
47-
app across all projects. You will add CodeRabbit manually on the projects you
48-
wish, as the next step.
49+
This is the standard approach used by other products in this category. This is
50+
not automatically installing the CodeRabbit app across all projects. You will
51+
add CodeRabbit manually on the projects you wish, as the next step.
4952

5053
#### 2. Manual onboarding
5154

52-
For the manual onboarding process we need to create the [CodeRabbit user](#creating-coderabbit-user) and the [OAuth2 GitLab application](#creating-oauth2-application).
55+
For the manual onboarding process we need to create the
56+
[CodeRabbit user](#creating-coderabbit-user) and the
57+
[OAuth2 GitLab application](#creating-oauth2-application).
5358
![Untitled](/img/integrations/manual-onboarding.png)
5459

5560
#### **Creating CodeRabbit user**
5661

57-
This feature will work with any user from your organization, but we strongly suggest creating a
58-
dedicated user called **CodeRabbitAI**. This ensures clarify about which user is used for our
59-
application and allows for better fine-grained access control.
62+
This feature will work with any user from your organization, but we strongly
63+
suggest creating a dedicated user called **CodeRabbitAI**. This ensures clarify
64+
about which user is used for our application and allows for better fine-grained
65+
access control.
6066

61-
To create users in GitLab, log in with an instance admin account and follow the steps provided in the [GitLab documentation](https://docs.gitlab.com/ee/user/profile/account/create_accounts.html#create-users-in-admin-area).
62-
After the user is created, you can retrieve the **User ID** from that user's profile and generate an [**access token**](#generating-personal-access-token).
67+
To create users in GitLab, log in with an instance admin account and follow the
68+
steps provided in the
69+
[GitLab documentation](https://docs.gitlab.com/ee/user/profile/account/create_accounts.html#create-users-in-admin-area).
70+
After the user is created, you can retrieve the **User ID** from that user's
71+
profile and generate an [**access token**](#generating-personal-access-token).
6372
The access token is used to post reviews on merge requests.
6473

6574
#### **Creating OAuth2 application**
6675

67-
For self-managed GitLab, we recommend creating an instance-wide application unless you want the reviews to be limited to a single group or user.
76+
For self-managed GitLab, we recommend creating an instance-wide application
77+
unless you want the reviews to be limited to a single group or user.
6878

69-
Please follow the steps outlined in the [GitLab documentation](https://docs.gitlab.com/ee/integration/oauth_provider.html#create-an-instance-wide-application) for creating the application.
79+
Please follow the steps outlined in the
80+
[GitLab documentation](https://docs.gitlab.com/ee/integration/oauth_provider.html#create-an-instance-wide-application)
81+
for creating the application.
7082

7183
Requirements:
7284

@@ -79,7 +91,8 @@ GitLab offers an option to generate a personal access token for adding a new
7991
user and setting up the application in the self-managed instance. To generate
8092
the token, please follow the process outlined below:
8193

82-
1. Login to your self-hosted instance. For [automated onboarding](#1-automated-onboarding) ensure you have admin rights.
94+
1. Login to your self-hosted instance. For
95+
[automated onboarding](#1-automated-onboarding) ensure you have admin rights.
8396
2. On the left sidebar, select your avatar.
8497
3. Select Edit profile.
8598
4. On the left sidebar, select Access Tokens.
@@ -104,7 +117,7 @@ the token, please follow the process outlined below:
104117
### **Step 5: Whitelist CodeRabbit IP address**
105118

106119
Use this CodeRabbit IP if your instance requires IP whitelisting
107-
`35.222.179.152/32`
120+
`35.222.179.152/32` and `34.170.211.100/32`.
108121

109122
VPN tunneling is available as an add-on package. Please reach out to us at
110123
[[email protected]](mailto:[email protected]) if you are interested.

0 commit comments

Comments
 (0)