Michael B. Gale
f7a2a8677a
Rename change note file
2023-02-06 09:13:11 +00:00
Michael B. Gale
6c0d2bdee1
Add example without defer statement
2023-02-06 09:10:41 +00:00
Michael B. Gale
25f907867b
Update expected test output
2023-02-06 08:51:46 +00:00
Michael B. Gale
abe38373da
Inline precededBySync
2023-02-06 08:47:47 +00:00
Michael B. Gale
c252ec0414
Add test for deferred close that returns error
2023-02-06 08:47:47 +00:00
Michael B. Gale
e05bce9863
Update expected test results
2023-02-06 08:47:46 +00:00
Michael B. Gale
314ecab90a
Use dominatesNode and improve variable naming
2023-02-06 08:47:46 +00:00
Michael B. Gale
85a339030b
Make the query a path-problem
2023-02-06 08:47:46 +00:00
Michael B. Gale
199c8641ec
Rename close to sink in query
2023-02-06 08:47:46 +00:00
Michael B. Gale
f648b021a9
Despecialise parameter names for precededBySync
2023-02-06 08:47:46 +00:00
Michael B. Gale
bd6c167be6
Fixup: more docs improvements
2023-02-06 08:47:46 +00:00
Michael B. Gale
f866e16679
Use any instead of exists for isCloseSink
2023-02-06 08:47:45 +00:00
Michael B. Gale
5ab6056b26
Fixup: docs comment
2023-02-06 08:47:45 +00:00
Michael B. Gale
3f446bc76e
Use three-argument hasQualifiedName
2023-02-06 08:47:45 +00:00
Michael B. Gale
07041bb659
Use Method instead of Function where able
2023-02-06 08:47:45 +00:00
Michael B. Gale
416ed57583
Fix qldoc comments
2023-02-06 08:47:45 +00:00
Michael B. Gale
f321adf9f4
Fix typo
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-02-06 08:47:44 +00:00
Michael B. Gale
10109b4925
Fix class comments
2023-02-06 08:47:44 +00:00
Michael B. Gale
49ce91fd5b
Update precision to high
2023-02-06 08:47:44 +00:00
Michael B. Gale
7e9617f3ce
Detect lack of error handling for os.File.Close
2023-02-06 08:47:43 +00:00
Owen Mansel-Chan
9ed7836367
Fix files that gofmt can't parse
...
We have some .go files that gofmt can't parse because they don't start
with "package". This was intentional, as they are fragments to be
included in .qhelp files. They don't affect the return code as gofmt
doesn't change their formatting, so this wasn't changing the result of
the check. However, it was confusing that when the check failed because
some other files weren't formatted correctly, the user would see the
stderr complaining about those files, so we capture stderr.
It would be an improvement to print which files are not formatted
correctly, but that was beyond my abilities with bash and makefiles.
2023-02-06 07:16:58 +00:00
github-actions[bot]
57f40ccd48
Post-release preparation for codeql-cli-2.12.2
2023-02-03 21:12:22 +00:00
Alvaro Muñoz
23c7bc8143
import RequestForgery from tests.ql
2023-02-03 22:05:50 +01:00
Sarita Iyer
8edd378290
Merge pull request #12077 from github/codeql-cli-articles-migration-update
...
Update CodeQL CLI docs articles and links to point to new location on GitHub Docs site
2023-02-03 15:25:33 -05:00
Alvaro Muñoz
04d5b7e579
make RequestForgery import private
2023-02-03 18:19:35 +01:00
Alvaro Muñoz
4b198f9af8
apply code review feedback
2023-02-03 18:12:49 +01:00
Alvaro Muñoz
844193d065
use regexp to capture generated file names
2023-02-03 18:08:56 +01:00
Alvaro Muñoz
1d0e80c2f5
Apply suggestions from code review
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-02-03 17:59:29 +01:00
Alvaro Muñoz
3002230af9
remove duplicated import
2023-02-03 17:48:13 +01:00
Owen Mansel-Chan
2f637e2c8e
Remove unused variable
2023-02-03 16:36:20 +00:00
Alvaro Muñoz
c517eb89b2
add more sinks
2023-02-03 17:33:08 +01:00
Alvaro Muñoz
20dc30d7e8
add RequestForgery test
2023-02-03 16:38:56 +01:00
Alvaro Muñoz
6b3d458865
Apply suggestions from code review
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-02-03 16:20:21 +01:00
Alvaro Muñoz
c7637a7e1f
Apply suggestions from code review
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-02-03 16:19:48 +01:00
Alvaro Muñoz
a0cf8e786c
fix SSRF sink
2023-02-03 16:16:00 +01:00
Alvaro Muñoz
7140b956e8
improve generated files matching predicates
2023-02-03 16:13:44 +01:00
Alvaro Muñoz
50bd0707ce
remove redundant import
2023-02-03 10:19:35 +01:00
Alvaro Muñoz
8cb022713e
include review feedback
2023-02-03 10:01:55 +01:00
Alvaro Muñoz
13242df149
Apply suggestions from code review
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-02-03 09:45:00 +01:00
github-actions[bot]
faf21f3edb
Post-release preparation for codeql-cli-2.12.2
2023-02-02 23:01:04 +00:00
Sarita Iyer
2772cf79f4
Update CodeQL CLI articles with migration message
2023-02-02 14:11:02 -05:00
Alvaro Muñoz
2576a09af9
remove unnecessary line
2023-02-02 17:50:50 +01:00
Anders Schack-Mulligen
67d4ed53b9
Dataflow: Sync.
2023-02-02 16:33:00 +01:00
github-actions[bot]
a4fa984792
Release preparation for version 2.12.2
2023-02-02 14:34:55 +00:00
Alvaro Muñoz
d6f1dfa205
update tests
2023-02-01 17:58:32 +01:00
Alvaro Muñoz
4d6b35f891
apply gofmt
2023-02-01 14:51:48 +01:00
Alvaro Muñoz
70a151af02
add change-notes
2023-02-01 14:49:30 +01:00
Alvaro Muñoz
a3188f2e10
address review feedback
2023-02-01 14:43:51 +01:00
Alvaro Muñoz
3502ab6523
fix missing QLDocs and refactor ServiceInterface
2023-02-01 14:37:38 +01:00
Alvaro Muñoz
afa6b1cec5
Initial support for Twirp framework
2023-02-01 13:55:09 +01:00