Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move test utilities to the query pack. #17968

Merged
merged 24 commits into from
Dec 16, 2024

Also move the postprocessing queries to the library pack.

0bfc1b6
Select commit
Loading
Failed to load commit list.
Merged

Move test utilities to the query pack. #17968

Also move the postprocessing queries to the library pack.
0bfc1b6
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Dec 12, 2024 in 4s

4 configurations not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 4 configurations present on refs/heads/main were not found:

Actions workflow (rust-analysis.yml)

  • ❓  .github/workflows/rust-analysis.yml:analyze/language:rust

Actions workflow (csv-coverage-metrics.yml)

  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-csharp
  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-java

Actions workflow (cpp-swift-analysis.yml)

  • ❓  .github/workflows/cpp-swift-analysis.yml:CodeQL-Build

New alerts in code changed by this pull request

  • 41 warnings

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 2 in java/ql/test/library-tests/dataflow/collections/containerflow.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
utils.test.InlineFlowTest
.

Check warning on line 2 in java/ql/test/library-tests/dataflow/fluent-methods/flow.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
utils.test.InlineFlowTest
.

Check warning on line 2 in java/ql/test/library-tests/frameworks/JaxWs/JaxRsFlow.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.

Check warning on line 2 in java/ql/test/library-tests/frameworks/android/external-storage/test.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.
Redundant import, the module is already imported inside
utils.test.InlineFlowTest
.

Check warning on line 2 in java/ql/test/library-tests/frameworks/android/slice/test.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.

Check warning on line 1 in java/ql/test/library-tests/frameworks/android/taint-database/flowSteps.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.TaintTracking
.
Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.
Redundant import, the module is already imported inside
semmle.code.java.security.QueryInjection
.

Check warning on line 2 in java/ql/test/library-tests/frameworks/android/taint-database/flowSteps.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.

Check warning on line 1 in java/ql/test/library-tests/frameworks/android/taint-database/sinks.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.TaintTracking
.
Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.
Redundant import, the module is already imported inside
semmle.code.java.security.QueryInjection
.

Check warning on line 2 in java/ql/test/library-tests/frameworks/android/taint-database/sinks.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.

Check warning on line 2 in java/ql/test/library-tests/frameworks/apache-http/flow.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.
Redundant import, the module is already imported inside
semmle.code.java.security.XSS
.

Check warning on line 2 in java/ql/test/library-tests/frameworks/netty/manual/test.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.
Redundant import, the module is already imported inside
utils.test.InlineFlowTest
.

Check warning on line 2 in java/ql/test/library-tests/frameworks/okhttp/test.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
utils.test.InlineFlowTest
.

Check warning on line 2 in java/ql/test/library-tests/frameworks/rabbitmq/FlowTest.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.

Check warning on line 2 in java/ql/test/library-tests/frameworks/ratpack/flow.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.

Check warning on line 2 in java/ql/test/library-tests/frameworks/retrofit/test.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
utils.test.InlineFlowTest
.

Check warning on line 2 in java/ql/test/query-tests/security/CWE-074/XsltInjectionTest.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.
Redundant import, the module is already imported inside
semmle.code.java.security.XsltInjectionQuery
.

Check warning on line 3 in java/ql/test/query-tests/security/CWE-074/XsltInjectionTest.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.security.XsltInjectionQuery
.

Check warning on line 2 in java/ql/test/query-tests/security/CWE-089/semmle/examples/springjdbc.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.security.SqlInjectionQuery
.

Check warning on line 2 in java/ql/test/query-tests/security/CWE-094/ApkInstallationTest.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.security.ArbitraryApkInstallationQuery
.

Check warning on line 2 in java/ql/test/query-tests/security/CWE-094/GroovyInjectionTest.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.
Redundant import, the module is already imported inside
semmle.code.java.security.GroovyInjectionQuery
.

Check warning on line 3 in java/ql/test/query-tests/security/CWE-094/GroovyInjectionTest.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.security.GroovyInjectionQuery
.

Check warning on line 2 in java/ql/test/query-tests/security/CWE-094/MvelInjectionTest.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.
Redundant import, the module is already imported inside
semmle.code.java.security.MvelInjectionQuery
.

Check warning on line 3 in java/ql/test/query-tests/security/CWE-094/MvelInjectionTest.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.security.MvelInjectionQuery
.

Check warning on line 2 in java/ql/test/query-tests/security/CWE-094/SpelInjectionTest.ql

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.code.java.dataflow.FlowSources
.

Check warning on line 19 in python/ql/lib/utils/test/VerifyApiGraphs.qll

Code scanning / CodeQL

Redundant import Warning test

Redundant import, the module is already imported inside
semmle.python.ApiGraphs
.