Skip to content

Commit 5116c99

Browse files
committed
Merge remote-tracking branch 'upstream/main' into tausbn/rust-upgrade-to-rust-analyzer-0.0.328
2 parents 3fd1909 + 9239f0c commit 5116c99

333 files changed

Lines changed: 3496 additions & 1160 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/instructions/ql-files.instructions.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

CODEOWNERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,14 @@
2424
/rust/ @github/codeql-rust
2525
/rust/extractor/ @github/codeql-rust @github/code-scanning-language-coverage
2626
/shared/ @github/codeql-shared-libraries-reviewers
27+
/shared/cpp/ @github/code-scanning-language-coverage
28+
/shared/yeast/ @github/code-scanning-language-coverage
29+
/shared/yeast-macros/ @github/code-scanning-language-coverage
30+
/shared/yeast-schema/ @github/code-scanning-language-coverage
2731
/swift/ @github/codeql-swift
2832
/swift/extractor/ @github/codeql-swift @github/code-scanning-language-coverage
33+
/unified/extractor/ @github/code-scanning-language-coverage
34+
/unified/swift-syntax-rs/ @github/code-scanning-language-coverage
2935
/misc/codegen/ @github/codeql-swift
3036
/java/kotlin-extractor/ @github/codeql-kotlin @github/code-scanning-language-coverage
3137
/java/ql/test-kotlin1/ @github/codeql-kotlin

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

actions/ql/integration-tests/query-suite/not_included_in_qls.expected

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ ql/actions/ql/src/experimental/Security/CWE-078/CommandInjectionMedium.ql
1111
ql/actions/ql/src/experimental/Security/CWE-088/ArgumentInjectionCritical.ql
1212
ql/actions/ql/src/experimental/Security/CWE-088/ArgumentInjectionMedium.ql
1313
ql/actions/ql/src/experimental/Security/CWE-200/SecretExfiltration.ql
14-
ql/actions/ql/src/experimental/Security/CWE-284/CodeExecutionOnSelfHostedRunner.ql
1514
ql/actions/ql/src/experimental/Security/CWE-829/ArtifactPoisoningPathTraversal.ql
1615
ql/actions/ql/src/experimental/Security/CWE-829/UnversionedImmutableAction.ql
1716
ql/actions/ql/src/experimental/Security/CWE-918/RequestForgery.ql

actions/ql/lib/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 0.5.0
2+
3+
### Breaking Changes
4+
5+
* The `codeql.actions.security.SelfHostedQuery` module has been removed because runner labels do not reliably distinguish self-hosted runners from managed runners.
6+
7+
### Minor Analysis Improvements
8+
9+
* GitHub Actions analysis now recognizes untrusted data in `github.event.merge_group` for workflows triggered by the `merge_group` event.
10+
111
## 0.4.40
212

313
### Minor Analysis Improvements
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* Added an option to `EnvironmentCheck` to become specified by a MaD model, otherwise it will continue as the default it previously was. Without adding models to `actions/ql/lib/ext/config/deployment_environment.yml` the behavior of every query will be unchanged. When models are added queries using `ControlCheck` may find more results in cases where an enironment is no longer a sufficient sanitizer.

actions/ql/lib/change-notes/2026-07-27-merge-group-event-source.md

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## 0.5.0
2+
3+
### Breaking Changes
4+
5+
* The `codeql.actions.security.SelfHostedQuery` module has been removed because runner labels do not reliably distinguish self-hosted runners from managed runners.
6+
7+
### Minor Analysis Improvements
8+
9+
* GitHub Actions analysis now recognizes untrusted data in `github.event.merge_group` for workflows triggered by the `merge_group` event.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
lastReleaseVersion: 0.4.40
2+
lastReleaseVersion: 0.5.0

actions/ql/lib/codeql/actions/config/Config.qll

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,12 @@ predicate untrustedGhCommandDataModel(string cmd_regex, string flag) {
164164
predicate actionsPermissionsDataModel(string action, string permission) {
165165
Extensions::actionsPermissionsDataModel(action, permission)
166166
}
167+
168+
/**
169+
* MaD models for deployment environments
170+
* Fields:
171+
* - name: deployment environment name, e.g. `Public CI`
172+
*/
173+
predicate enabledDeploymentEnvironmentDataModel(string name) {
174+
Extensions::enabledDeploymentEnvironmentDataModel(name)
175+
}

0 commit comments

Comments
 (0)