Skip to content

Commit

Permalink
additional updates to ADO SMS Docs (#1919)
Browse files Browse the repository at this point in the history
  • Loading branch information
khorne3 authored Jan 23, 2025
1 parent 4993035 commit 23321c0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/deployment/managed-scanning/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ The following steps revoke the code access you previously granted Semgrep for al
2. Find the Azure DevOps entry on the list of **Source code managers** and click **Remove**.
3. Click **Remove** to confirm.

## Troubleshooting: multiple projects

If you currently scan Azure DevOps repositories in your CI pipeline, you may see findings assigned to two separate projects once you enable Semgrep Managed Scanning. For example, findings from Managed Scanning go to the `semgrep/frontend/webpage` project, while findings from CI scans go to the `frontend/webpage` project. If this is the case, Semgrep AppSec Platform flags these findings with **Possible duplicate**. Please [contact support](/support) for addition assistance.

## Appendices

<details>
Expand Down
23 changes: 23 additions & 0 deletions docs/semgrep-ci/network-broker.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,23 @@ Update the `config.yaml` by replacing the SCM information containing `YOUR_BASE_
<Tabs
defaultValue="gh"
values={[
{label: 'Azure DevOps', value: 'ado'},
{label: 'Bitbucket', value: 'bb'},
{label: 'GitHub', value: 'gh'},
{label: 'GitLab', value: 'gl'},
]}
>

<TabItem value='ado'>

<pre class="language-console"><code>
azuredevops:
&nbsp;&nbsp;baseURL: https://<span className="placeholder">ADO_BASE_URL</span>/*
&nbsp;&nbsp;token: <span className="placeholder">ADO_PAT</span>
</code></pre>

</TabItem>

<TabItem value='bb'>

Bitbucket is compatible with Network Broker versions 0.20.0 and later.
Expand Down Expand Up @@ -209,12 +220,24 @@ To enable Managed Scans when using Network Broker, ensure that you've updated yo
<Tabs
defaultValue="gh"
values={[
{label: 'Azure DevOps', value: 'ado'},
{label: 'Bitbucket', value: 'bb'},
{label: 'GitHub', value: 'gh'},
{label: 'GitLab', value: 'gl'},
]}
>

<TabItem value='ado'>

<pre class="language-console"><code>
azuredevops:
&nbsp;&nbsp;baseURL: https://<span className="placeholder">ADO_BASE_URL</span>/*
&nbsp;&nbsp;token: <span className="placeholder">ADO_PAT</span>
&nbsp;&nbsp;allowCodeAccess: true
</code></pre>

</TabItem>

<TabItem value='bb'>

<pre class="language-console"><code>
Expand Down

0 comments on commit 23321c0

Please sign in to comment.