Skip to content

Commit 269a0c0

Browse files
Merge pull request #8182 from MicrosoftDocs/users/laurajiang/edit-languages
Edit CodeQL language support
2 parents 480bb25 + 41e6931 commit 269a0c0

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -236,13 +236,6 @@ steps:
236236

237237
```
238238

239-
> [!TIP]
240-
> CodeQL analysis for Kotlin/Swift is currently in beta. During the beta, analysis of these languages is less comprehensive than CodeQL analysis of others.
241-
> - Use `java` to analyze code written in Java, Kotlin or both.
242-
> - Use `javascript` to analyze code written in JavaScript, TypeScript, or both.
243-
244-
If the language specified is `cpp, java, csharp` or `swift`, custom build steps are required.
245-
246239
#### [Classic](#tab/classic)
247240

248241
Add the tasks in the following order:
@@ -254,7 +247,11 @@ Add the tasks in the following order:
254247

255248
---
256249

257-
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.
250+
Also, specify which language you're analyzing in the `Initialize CodeQL` task. If the language specified is `swift`, custom build steps are required.
251+
252+
> [!TIP]
253+
> - Use `java` to analyze code written in Java, Kotlin or both.
254+
> - Use `javascript` to analyze code written in JavaScript, TypeScript, or both.
258255
259256
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.
260257

docs/repos/security/github-advanced-security-code-scanning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You can view the specific queries and task details executed by CodeQL in the bui
5858

5959
### Code scanning build mode customization
6060
Code scanning supports two build modes when setting up a pipeline for scanning:
61-
* `none` - the CodeQL database is created directly from the codebase without building the codebase (supported for all interpreted languages, and additionally supported for C# and Java).
61+
* `none` - the CodeQL database is created directly from the codebase without building the codebase (supported for all interpreted languages, and additionally supported for `cpp`, `java`, and `csharp`).
6262
* `manual` - you define the build steps to use for the codebase in the workflow (supported for all compiled languages).
6363

6464
For more information on the different build modes including a comparison on the benefits of each build mode, see [CodeQL code scanning for compiled languages](https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#about-the-codeql-analysis-workflow-and-compiled-languages).

0 commit comments

Comments
 (0)