Skip to content

Commit 8da684d

Browse files
authored
search-related fixes (#2215)
* update algolia config * add headers
1 parent 2e7cf98 commit 8da684d

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

algolia-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"text": "article p, article li, article td:last-child, article code, article div table td, article div table th"
3838
}
3939
},
40-
"strip_chars": " .,;:#",
40+
"strip_chars": " .,;:#()",
4141
"custom_settings": {
4242
"indexLanguages" : [
4343
"en"
@@ -72,6 +72,7 @@
7272
"url_without_anchor",
7373
"type"
7474
],
75+
"type": "synonym",
7576
"synonyms": [
7677
[
7778
"taint mode",

docs/deployment/connect-scm.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ If you opted to scan a GitHub or GitLab repository when you initially signed in,
4949
5050
<TabItem value='azure-devops-cloud'>
5151

52+
### Azure DevOps Cloud
53+
5254
1. Sign in to [<i class="fas fa-external-link fa-xs"></i> Semgrep AppSec Platform](https://semgrep.dev/login).
5355
1. Optional: If you have created more than one Semgrep account, select the account you want to make a connection for by clicking on the **Navigation bar > Your account name > The account you want to connect**.<br />
5456
<img src="/docs/img/more-accounts-dropdown.png" height="350px" />
@@ -63,6 +65,8 @@ If you opted to scan a GitHub or GitLab repository when you initially signed in,
6365
</TabItem>
6466
<TabItem value='bitbucket-cloud'>
6567

68+
### Bitbucket Cloud
69+
6670
1. Sign in to [<i class="fas fa-external-link fa-xs"></i> Semgrep AppSec Platform](https://semgrep.dev/login).
6771
1. Optional: If you have created more than one Semgrep account, select the account you want to make a connection for by clicking on the **Navigation bar > Your account name > The account you want to connect**.<br />
6872
<img src="/docs/img/more-accounts-dropdown.png" height="350px" />
@@ -107,6 +111,8 @@ These steps are for users that sign in to Semgrep through a **non-GitHub** SSO p
107111

108112
<TabItem value='gitlab-cloud'>
109113

114+
### GitLab Cloud
115+
110116
1. Create a PAT by following the steps outlined in this [guide to creating a PAT](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html). Ensure that the PAT is created with the required `api` scope.
111117
1. Sign in to [<i class="fas fa-external-link fa-xs"></i> Semgrep AppSec Platform](https://semgrep.dev/login).
112118
1. Optional: If you have created more than one Semgrep account, select the account you want to make a connection for by clicking on the **Navigation bar > Your account name > The account you want to connect**.<br />
@@ -135,6 +141,7 @@ You have successfully connected an org in Semgrep AppSec Platform with an organi
135141
136142
<TabItem value='bitbucket-data-center'>
137143

144+
### Bitbucket Data Center
138145

139146
1. Create an HTTP Access Token for your project following the steps outlined in [<i class="fas fa-external-link fa-xs"></i> Bitbucket Data Center documentation](https://confluence.atlassian.com/bitbucketserver/http-access-tokens-939515499.html). Ensure that the access token is created with `PROJECT_ADMIN` permissions.
140147
1. Copy the token for use in the next steps.
@@ -154,6 +161,8 @@ You have successfully connected an org in Semgrep AppSec Platform with an organi
154161
</TabItem>
155162
<TabItem value='github-enterprise'>
156163

164+
### GitHub Enterprise
165+
157166
This section is applicable to users on a **GitHub Enterprise Server** plan.
158167

159168
The **Semgrep App for GitHub Enterprise (GHE)** creates a connection between Semgrep
@@ -163,7 +172,7 @@ and orgs in your GHE deployment. There are two primary installation steps:
163172
that "owns" the app.
164173
2. Install the app for additional GHE orgs.
165174

166-
### Initial Semgrep App installation
175+
#### Initial Semgrep App installation
167176

168177
If your deployment contains many orgs, you must **choose an org** among your accounts that acts as the **owner** of the Semgrep App. As the owner, this org controls the settings and permissions granted to the app.
169178

@@ -199,7 +208,7 @@ At this point, you've successfully installed the GHE Semgrep App on the owner GH
199208

200209
![App installation page](/img/ghe-11.png#md-width)
201210

202-
### Install the app for subsequent GHE orgs
211+
#### Install the app for subsequent GHE orgs
203212

204213
You can install the Semgrep app onto additional GHE orgs at any time. To do so:
205214

@@ -216,6 +225,8 @@ You have successfully connected Semgrep to your GitHub Enterprise Server.
216225
</TabItem>
217226
<TabItem value='gitlab-sm'>
218227

228+
### GitLab Self-Managed
229+
219230
This section is applicable to users with subscriptions to any **GitLab self-managed plan**.
220231

221232
Connect Semgrep and GitLab Self-Managed accounts by creating a PAT and providing it to Semgrep using Semgrep AppSec Platform:

0 commit comments

Comments
 (0)