CodeQL: the libraries and queries that power security researchers around the world, as well as code scanning in GitHub Advanced Security
Перейти к файлу
Taus addef2f171 Add script and VSCode task for creating change notes
Adds a VSCode Task (accessible from the "Run Task" menu) for creating
change notes, prompting the user for the language, name, and category of
the change.

The language options presented are based on the existing occurrences of
`change-notes` folders in the repo. There are more such files (in
particular every shared library has a `change-notes` directory), but it
seemed to me that the language change notes are the ones that are most
common, and so in an effort to not clutter the list too much, I only
included the languages.

The selection of categories is based on existing usage -- more
specifically the result of grepping for occurrences of '^category: ' in
the repo. It's possible there are more change categories that could be
added.

Hopefully this should make it more convenient to create change notes
from within VSCode.
2024-11-22 22:32:15 +00:00
.devcontainer
.github CI: Set `--ram` in `compile-queries.yml` 2024-11-21 13:44:31 +01:00
.vscode Add script and VSCode task for creating change notes 2024-11-22 22:32:15 +00:00
actions
change-notes
config
cpp Merge pull request #18080 from github/revert-18072-revert-18009-calumgrant/bmn/record-build-mode 2024-11-22 17:15:26 +00:00
csharp Add Deserialize() and Deserialize<T> to System.Web.Serialization stub.s 2024-11-20 21:01:20 -08:00
docs
go Add changed framework coverage reports 2024-11-21 00:21:44 +00:00
java Merge pull request #18022 from github/kaeluka/4648-remove-automodel-queries 2024-11-22 10:13:11 +01:00
javascript Merge pull request #18008 from Napalys/napalys/ES2024-group-functions 2024-11-21 19:03:57 +01:00
misc Add script and VSCode task for creating change notes 2024-11-22 22:32:15 +00:00
python Merge pull request #18037 from joefarebrother/pythob-test-global-capture 2024-11-22 11:33:31 +01:00
ql
ruby
rust Rust: fix regression in `getFormat` indexing 2024-11-22 14:13:15 +01:00
shared Merge pull request #17876 from hvitved/dataflow/param-flow-call-ctx 2024-11-21 10:20:27 +01:00
swift
.bazelrc
.bazelrc.internal
.bazelversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.lfsconfig
.lgtm.yml
.pre-commit-config.yaml
BUILD.bazel
CODEOWNERS
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Cargo.lock
Cargo.toml
LICENSE
MODULE.bazel
README.md
codeql-workspace.yml
conftest.py
defs.bzl

README.md

CodeQL

This open source repository contains the standard CodeQL libraries and queries that power GitHub Advanced Security and the other application security products that GitHub makes available to its customers worldwide.

How do I learn CodeQL and run queries?

There is extensive documentation about the CodeQL language, writing CodeQL using the CodeQL extension for Visual Studio Code and using the CodeQL CLI.

Contributing

We welcome contributions to our standard library and standard checks. Do you have an idea for a new check, or how to improve an existing query? Then please go ahead and open a pull request! Before you do, though, please take the time to read our contributing guidelines. You can also consult our style guides to learn how to format your code for consistency and clarity, how to write query metadata, and how to write query help documentation for your query.

For information on contributing to CodeQL documentation, see the "contributing guide" for docs.

License

The code in this repository is licensed under the MIT License by GitHub.

The CodeQL CLI (including the CodeQL engine) is hosted in a different repository and is licensed separately. If you'd like to use the CodeQL CLI to analyze closed-source code, you will need a separate commercial license; please contact us for further help.

Visual Studio Code integration

If you use Visual Studio Code to work in this repository, there are a few integration features to make development easier.

CodeQL for Visual Studio Code

You can install the CodeQL for Visual Studio Code extension to get syntax highlighting, IntelliSense, and code navigation for the QL language, as well as unit test support for testing CodeQL libraries and queries.

Tasks

The .vscode/tasks.json file defines custom tasks specific to working in this repository. To invoke one of these tasks, select the Terminal | Run Task... menu option, and then select the desired task from the dropdown. You can also invoke the Tasks: Run Task command from the command palette.