Rasmus Wriedt Larsen
377c6b4cc8
Merge pull request #12557 from felickz/patch-1
...
add security-severity score to code scanning query list
2024-04-30 13:48:22 +02:00
Chad Bentz
f77f91ef49
move security-severity to end of column list in csv
...
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com >
2024-04-16 16:02:15 -04:00
Michael Nebel
52be6579b7
Print usage information for accept-expected-changes script in case PR auto detection fails.
2024-04-12 14:31:25 +02:00
Chad Bentz
b12f4d97f8
Merge branch 'main' into patch-1
2024-01-17 09:25:28 -05:00
Michael Nebel
e44b2d26ce
Java/C#: Make it possible to specify subfolder location of generated model files.
2024-01-04 14:05:13 +01:00
Michael Nebel
5796297fc3
C#/Java: Update the model generator script usage examples and description.
2023-12-20 10:17:08 +01:00
Chad Bentz
ee3085e15e
Update generate-code-scanning-query-list.py
2023-12-14 14:09:14 -05:00
Tom Hvitved
f920bc164a
C#: Update model generator to output one file per namespace
2023-11-09 08:34:36 +01:00
Tom Hvitved
74f483a6f5
C#: Update model conversion queries
2023-11-09 08:34:35 +01:00
Jami
c7b9e405b7
Merge pull request #14517 from jcogs33/jcogs33/update-framework-cov-diff-workflow
...
CI: Update framework coverage difference commenter
2023-10-25 14:31:00 -04:00
Chad Bentz
53e96e5adf
Merge branch 'main' into patch-1
2023-10-25 10:00:16 -04:00
Jami
7c053ed428
CI: add .strip() to comment/ID file read
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2023-10-24 17:48:38 -04:00
Jami Cogswell
687ecffe71
CI: don't upload comment/ID artifact if no existing comment
2023-10-22 15:28:07 -04:00
Jami Cogswell
ee4a9c3f8d
CI: remove extraneous quotes that were causing 'get_previous_run_id' to always fail with a 'list index out of bounds' error
2023-10-19 19:23:14 -04:00
Jami Cogswell
6e29b70100
CI: update comment (if it exists)
2023-10-19 19:19:25 -04:00
Owen Mansel-Chan
06a600c7fb
Set up automated coverage reports for Go
...
Copied from https://github.com/github/codeql/pull/6148
2023-10-11 21:09:54 +01:00
Rasmus Wriedt Larsen
301133ad94
Misc: Fixup for accept-expected-changes-from-ci.py
...
Allow empty lines while looking for diff (between `---expected` and `FAILED`). This can happen when there is `Locations outside the test directory` since an empty line is printed after that warning message (this output can be interleaved with the diff due to parallel execution).
2023-09-04 09:32:06 +02:00
Chad Bentz
6f60eb9e1a
Merge branch 'main' into patch-1
2023-08-09 14:31:26 -04:00
Rasmus Wriedt Larsen
69aa099ed1
Misc: Fixup accept-expected-changes-from-ci.py
...
I guess there has been a rename of the URL from `/jobs/` to `/job/`, since the script has been working previously.
2023-08-09 10:44:31 +02:00
Chad Bentz
845f384df6
Merge branch 'main' into patch-1
2023-08-04 17:57:53 -04:00
Rasmus Wriedt Larsen
54d35dbc0b
Misc: Delete empty CONSISTENCY files
...
As requested by `@hvitved`
2023-05-10 17:37:39 +02:00
Rasmus Wriedt Larsen
cb8c4094fc
Misc: Add --force option
2023-05-10 17:20:32 +02:00
Rasmus Wriedt Larsen
c9680b9202
Misc: Look for .expected changes from integration-tests...
2023-05-03 17:40:21 +02:00
Rasmus Wriedt Larsen
b048f9d8c4
Misc: Allow specifying SHA directly to script
2023-05-03 17:39:20 +02:00
Rasmus Wriedt Larsen
e3fc6d67cc
Misc: Allow no internal CI
2023-05-03 17:31:52 +02:00
Rasmus Wriedt Larsen
f2def84337
Misc: Add script to accept .expected changes from CI
...
This script can be used to go over `codeql test run` expected/actual log
output from actions CI checks for a PR, and apply patches locally to
make the tests pass.
Designed for use by GitHub employees, since it needs access to internal
CI runs. Just run this tool while the branch for the PR is checked out!
You need the `gh` cli tool installed and authenticated.
Example can be seen in https://github.com/github/codeql/pull/12950
2023-04-30 14:59:50 +02:00
Chad Bentz
39c52c9ecf
add security-severity to code scanning query list
2023-03-16 11:27:23 -04:00
Calum Grant
779c2365fe
Merge pull request #12091 from github/cg/shared-code-metrics
...
Script to generate shared code metrics
2023-02-20 16:58:30 +00:00
Calum Grant
2cfd6c5597
Update misc/scripts/shared-code-metrics.py
...
Co-authored-by: Anders Peter Fugmann <anders@fugmann.net >
2023-02-17 14:26:58 +00:00
Calum Grant
7d8b624a71
Basic script to generate shared code metrics
2023-02-03 16:24:39 +00:00
Rasmus Wriedt Larsen
e8714c9edb
Misc: Add Swift to generate-code-scanning-query-list.py
2023-01-25 15:22:20 +01:00
Rasmus Wriedt Larsen
b220c2f51d
Misc: Add security-experimental to generate-code-scanning-query-list.py
...
Since not all experimental queries is part of this new suite, it's nice
to be able to list them explicitly without having to replicate the logic
from the .qls file.
2023-01-25 15:20:49 +01:00
Michael Nebel
178fd0e9e1
C#/Java: Remove all dashes in mode-generator.
2023-01-11 13:13:33 +01:00
Michael Nebel
596c2c0345
C#/Java: Rename the modelgenerator and converter predicate names.
2022-12-14 13:43:34 +01:00
Michael Nebel
1a226a15bf
C#/Java: Cleanup up printing of generated models.
2022-12-09 15:04:43 +01:00
Michael Nebel
2cb88037a4
C#/Java: Rename Negative Summary Model to Neutral Model in conversion and generator tooling.
2022-12-09 15:04:43 +01:00
Henry Mercer
3036b15af2
Merge branch 'main' into henrymercer/check-query-ids
2022-12-08 13:05:46 +00:00
Henry Mercer
9c27cc0abe
Add a script to check for duplicate query IDs
2022-12-05 18:51:48 +00:00
Michael Nebel
19db8e5d82
Java: Address review comments and also delete comment about type based summaries only being for C#.
2022-12-05 14:07:16 +01:00
Michael Nebel
243b94b54a
Java/C#: Delete old model generator scripts and rename the new ones.
2022-12-05 11:39:44 +01:00
Michael Nebel
5194108233
Java/C#: Improve the newlines in the generated model files.
2022-12-02 12:20:17 +01:00
Michael Nebel
b2dd29ff05
Java/C#: Update conversion script to also produce negative models.
2022-12-02 12:18:50 +01:00
Michael Nebel
d2c458c066
Java/C#: Correction of autogenerated comment(s) produced by the model generator.
2022-11-29 13:05:18 +01:00
Michael Nebel
9f783b018d
Java: Type based summaries are now also for Java.
2022-11-10 13:57:43 +01:00
Michael Nebel
d3a458ef1a
C#: Remove blank lines in generated converted models.
2022-11-08 16:46:38 +01:00
Michael Nebel
8fa6140a0d
C#: Add data extensions version of the model generator scripts.
2022-11-04 08:20:52 +01:00
Michael Nebel
e6a8019c2b
C#: Add python script for generating YAML files containing data extensions.
2022-11-04 08:19:05 +01:00
Michael Nebel
b05a1f4f39
C#: Support for type based model generation via python script.
2022-09-14 11:16:22 +02:00
Tamas Vajk
8c5d220dc0
Add optional friendly name parameter to MaD generator
2022-09-02 16:12:22 +02:00
Michael Nebel
0578d3e6c4
C#: Improve python script to allow generation of Negative summary models.
2022-08-24 09:46:54 +02:00