Skip to content

Commit 9325203

Browse files
authored
Fix typo in dependency scanning task setup instructions
Corrected a typo in the documentation regarding the setup of dependency scanning tasks.
1 parent de52736 commit 9325203

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/repos/security/configure-github-advanced-security-features.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Dependency scanning is a pipeline-based scanning tool. Results are aggregated pe
163163
:::image type="content" source="media/dependency-one-click-enablement.png" lightbox="media/dependency-one-click-enablement.png" alt-text="Screenshot of dependency scanning one-click setup.":::
164164
:::zone-end
165165

166-
For more advanced setup or if you want to scan all branches, we recommend that you add the dependency scanning task to all the pipelines that you want scanned. See [Dependency scanning for GitHub Advanced Security for Azure DevOps](github-advanced-security-dependency-scanning-troubleshoot.md#manual-dependency-scanning-task-set-up) for more details.
166+
For more advanced setup or if you want to scan all branches, we recommend that you add the dependency scanning task to all the pipelines that you want scanned. See [Dependency scanning for GitHub Advanced Security for Azure DevOps](github-advanced-security-dependency-scanning-troubleshoot.md#manual-dependency-scanning-task-setup) for more details.
167167

168168
## Set up code scanning
169169

@@ -243,7 +243,6 @@ steps:
243243
244244
If the language specified is `cpp, java, csharp` or `swift`, custom build steps are required.
245245

246-
247246
#### [Classic](#tab/classic)
248247

249248
Add the tasks in the following order:
@@ -253,6 +252,8 @@ Add the tasks in the following order:
253252

254253
:::image type="content" source="media/code-scanning-config-classic-tasks.png" alt-text="Screenshot of code scanning pipeline setup for YAML." lightbox="media/code-scanning-config-classic-tasks.png" :::
255254

255+
---
256+
256257
Also, specify which language you're analyzing in the `Initialize CodeQL` task. If the language specified is `cpp, java, csharp` or `swift`, custom build steps are required.
257258

258259
If you're running on a self-hosted agent, select the `Enable automatic CodeQL detection and installation` to automatically use the latest CodeQL bits on your agent if you didn't manually install the latest CodeQL bundle to your agent tool cache.

0 commit comments

Comments
 (0)