Skip to content

Commit 14d0490

Browse files
committed
Update codeql-changelog index.rst to include codeql-cli-2.17.1
1 parent 0daa6c2 commit 14d0490

File tree

2 files changed

+107
-0
lines changed

2 files changed

+107
-0
lines changed
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
.. _codeql-cli-2.17.1:
2+
3+
==========================
4+
CodeQL 2.17.1 (2024-04-24)
5+
==========================
6+
7+
.. contents:: Contents
8+
:depth: 2
9+
:local:
10+
:backlinks: none
11+
12+
This is an overview of changes in the CodeQL CLI and relevant CodeQL query and library packs. For additional updates on changes to the CodeQL code scanning experience, check out the `code scanning section on the GitHub blog <https://github.blog/tag/code-scanning/>`__, `relevant GitHub Changelog updates <https://github.blog/changelog/label/code-scanning/>`__, `changes in the CodeQL extension for Visual Studio Code <https://marketplace.visualstudio.com/items/GitHub.vscode-codeql/changelog>`__, and the `CodeQL Action changelog <https://github.com/github/codeql-action/blob/main/CHANGELOG.md>`__.
13+
14+
Security Coverage
15+
-----------------
16+
17+
CodeQL 2.17.1 runs a total of 412 security queries when configured with the Default suite (covering 160 CWE). The Extended suite enables an additional 130 queries (covering 34 more CWE). 2 security queries have been added with this release.
18+
19+
CodeQL CLI
20+
----------
21+
22+
Deprecations
23+
~~~~~~~~~~~~
24+
25+
* The :code:`--mode` option and :code:`-m` alias to :code:`codeql database create`,
26+
:code:`codeql database cleanup`, and :code:`codeql dataset cleanup` has been deprecated. Instead, use the new :code:`--cache-cleanup` option, which has identical behavior.
27+
28+
Improvements
29+
~~~~~~~~~~~~
30+
31+
* Improved the diagnostic message produced when no code is processed when creating a database. If a build mode was specified using
32+
:code:`--build-mode`, the message is now tailored to your build mode.
33+
34+
Miscellaneous
35+
~~~~~~~~~~~~~
36+
37+
* The :code:`scc` tool used by the CodeQL CLI to calculate source code baseline information has been updated to version `3.2.0 <https://github.com/boyter/scc/releases/tag/v3.2.0>`__.
38+
39+
Query Packs
40+
-----------
41+
42+
Minor Analysis Improvements
43+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
44+
45+
Java
46+
""""
47+
48+
* The :code:`java/unknown-javadoc-parameter` now accepts :code:`@param` tags that apply to the parameters of a record.
49+
50+
JavaScript/TypeScript
51+
"""""""""""""""""""""
52+
53+
* :code:`API::Node#getInstance()` now includes instances of subclasses, include transitive subclasses.
54+
The same changes applies to uses of the :code:`Instance` token in data extensions.
55+
56+
New Queries
57+
~~~~~~~~~~~
58+
59+
Ruby
60+
""""
61+
62+
* Added a new query, :code:`rb/insecure-mass-assignment`, for finding instances of mass assignment operations accepting arbitrary parameters from remote user input.
63+
* Added a new query, :code:`rb/csrf-protection-not-enabled`, to detect cases where Cross-Site Request Forgery protection is not enabled in Ruby on Rails controllers.
64+
65+
Language Libraries
66+
------------------
67+
68+
Minor Analysis Improvements
69+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
70+
71+
C#
72+
""
73+
74+
* Extracting suppress nullable warning expressions did not work when applied directly to a method call (like :code:`System.Console.Readline()!`). This has been fixed.
75+
76+
Golang
77+
""""""
78+
79+
* Data flow through variables declared in statements of the form :code:`x := y.(type)` at the beginning of type switches has been fixed, which may result in more alerts.
80+
* Added strings.ReplaceAll, http.ParseMultipartForm sanitizers and remove path sanitizer.
81+
82+
Java
83+
""""
84+
85+
* About 6,700 summary models and 6,800 neutral summary models for the JDK that were generated using data flow have been added. This may lead to new alerts being reported.
86+
87+
Python
88+
""""""
89+
90+
* Improved the type-tracking capabilities (and therefore also API graphs) to allow tracking items in tuples and dictionaries.
91+
92+
Shared Libraries
93+
----------------
94+
95+
New Features
96+
~~~~~~~~~~~~
97+
98+
Dataflow Analysis
99+
"""""""""""""""""
100+
101+
* The :code:`PathGraph` result of a data flow computation has been augmented with model provenance information for each of the flow steps. Any qltests that include the edges relation in their output (for example, :code:`.qlref`\ s that reference path-problem queries) will need to be have their expected output updated accordingly.
102+
103+
Type-flow Analysis
104+
""""""""""""""""""
105+
106+
* Initial release. Adds a library to implement type-flow analysis.

docs/codeql/codeql-overview/codeql-changelog/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ A list of queries for each suite and language `is available here <https://docs.g
1111
.. toctree::
1212
:maxdepth: 1
1313

14+
codeql-cli-2.17.1
1415
codeql-cli-2.17.0
1516
codeql-cli-2.16.6
1617
codeql-cli-2.16.5

0 commit comments

Comments
 (0)