Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Ahmady <[email protected]>
  • Loading branch information
felicitymay and subatoi committed May 2, 2024
1 parent be9009d commit 6eb07a7
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This open source repository contains the standard CodeQL libraries and queries t

## How do I learn CodeQL and run queries?

There is [extensive documentation](https://codeql.github.com/docs/) on getting started with writing CodeQL using the [CodeQL extension for Visual Studio Code](https://docs.github.com/en/code-security/codeql-for-vs-code/) and the [CodeQL CLI](https://codeql.github.com/docs/codeql-cli/).
There is [extensive documentation](https://codeql.github.com/docs/) on getting started with writing CodeQL using the [CodeQL extension for Visual Studio Code](https://docs.github.com/en/code-security/codeql-for-vs-code/) and the [CodeQL CLI](https://docs.github.com/en/code-security/codeql-cli).

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/ql-training/cpp/bad-overflow-guard.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CodeQL for C/C++
Setup
=====

For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/>`__ and download the CodeQL database for `ChakraCore <https://github.com/Chakra-Core/ChakraCore/>`__ from GitHub.
For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code>`__ and download the CodeQL database for `ChakraCore <https://github.com/Chakra-Core/ChakraCore/>`__ from GitHub.

Checking for overflow in C
==========================
Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/ql-training/cpp/control-flow-cpp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CodeQL for C/C++
Setup
=====

For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/>`__ and download the CodeQL database for `ChakraCore <https://github.com/Chakra-Core/ChakraCore/>`__ from GitHub.
For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code/>`__ and download the CodeQL database for `ChakraCore <https://github.com/Chakra-Core/ChakraCore/>`__ from GitHub.


.. rst-class:: agenda
Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/ql-training/cpp/data-flow-cpp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Finding string formatting vulnerabilities in C/C++
Setup
=====

For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/>`__ and download the CodeQL database for `dotnet/coreclr <https://github.com/dotnet/coreclr>`__ from GitHub.
For this example you need to set up `CodeQL for Visual Studio Code <hhttps://docs.github.com/en/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code>`__ and download the CodeQL database for `dotnet/coreclr <https://github.com/dotnet/coreclr>`__ from GitHub.

.. rst-class:: agenda

Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/ql-training/cpp/global-data-flow-cpp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CodeQL for C/C++
Setup
=====

For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/>`__ and download the CodeQL database for `dotnet/coreclr <https://github.com/dotnet/coreclr>`__ from GitHub.
For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code>`__ and download the CodeQL database for `dotnet/coreclr <https://github.com/dotnet/coreclr>`__ from GitHub.

.. rst-class:: agenda

Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/ql-training/cpp/intro-ql-cpp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CodeQL for C/C++
Setup
=====

For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/>`__ and download the CodeQL database for `exiv2 <https://github.com/Exiv2/exiv2>`__ from GitHub.
For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code>`__ and download the CodeQL database for `exiv2 <https://github.com/Exiv2/exiv2>`__ from GitHub.

.. Include language-agnostic section here
Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/ql-training/cpp/snprintf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CodeQL for C/C++
Setup
=====

For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/>`__ and download the CodeQL database for `rsyslog <https://github.com/rsyslog/rsyslog>`__ from GitHub.
For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code>`__ and download the CodeQL database for `rsyslog <https://github.com/rsyslog/rsyslog>`__ from GitHub.

``snprintf``
============
Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/ql-training/java/apache-struts-java.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Exercise: Apache Struts
Setup
=====

For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/>`__ and download the CodeQL database for `Apache Struts <https://github.com/apache/struts>`__ from GitHub.
For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code>`__ and download the CodeQL database for `Apache Struts <https://github.com/apache/struts>`__ from GitHub.

Unsafe deserialization in Struts
================================
Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/ql-training/java/data-flow-java.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Finding SPARQL injection vulnerabilities in Java
Setup
=====

For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/>`__ and download the CodeQL database for `VIVO Vitro <https://github.com/vivo-project/Vitro>`__ from GitHub.
For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code>`__ and download the CodeQL database for `VIVO Vitro <https://github.com/vivo-project/Vitro>`__ from GitHub.

.. rst-class:: agenda

Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/ql-training/java/global-data-flow-java.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CodeQL for Java
Setup
=====

For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/>`__ and download the CodeQL database for `Apache Struts <https://github.com/apache/struts>`__ from GitHub.
For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code>`__ and download the CodeQL database for `Apache Struts <https://github.com/apache/struts>`__ from GitHub.

.. rst-class:: agenda

Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/ql-training/java/intro-ql-java.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CodeQL for Java
Setup
=====

For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/>`__ and download the CodeQL database for `Apache Struts <https://github.com/apache/struts>`__ from GitHub.
For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code>`__ and download the CodeQL database for `Apache Struts <https://github.com/apache/struts>`__ from GitHub.

.. Include language-agnostic section here
Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/ql-training/java/query-injection-java.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CodeQL for Java
Setup
=====

For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/>`__ and download the CodeQL database for `VIVO Vitro <https://github.com/vivo-project/Vitro>`__ from GitHub.
For this example you need to set up `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code>`__ and download the CodeQL database for `VIVO Vitro <https://github.com/vivo-project/Vitro>`__ from GitHub.

SQL injection
=============
Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/ql-training/template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Setup

For this example you should download:

- `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/>`__
- `CodeQL for Visual Studio Code <https://docs.github.com/en/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code>`__
- A CodeQL database

.. note::
Expand Down
2 changes: 1 addition & 1 deletion docs/codeql/reusables/vs-code-deprecation-note.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

Note

This documentation was migrated to docs.github.com/en/code-security/codeql-for-vs-code on 2024/05/08, and this version is no longer maintained.
This documentation `was migrated <https://github.blog/changelog/2024-04-18-codeql-for-visual-studio-code-documentation-is-now-on-docs-github-com/>`_ to docs.github.com/en/code-security/codeql-for-vs-code on 2024/05/08, and this version is no longer maintained.

2 changes: 1 addition & 1 deletion python/ql/src/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ No user-facing changes.

### Bug Fixes

* The [View AST functionality](https://docs.github.com/en/code-security/codeql-for-vs-code/) no longer prints detailed information about regular expressions, greatly improving performance.
* The [View AST functionality](https://docs.github.com/en/code-security/codeql-for-vs-code/using-the-advanced-functionality-of-the-codeql-for-vs-code-extension/exploring-the-structure-of-your-source-code) no longer prints detailed information about regular expressions, greatly improving performance.

## 0.0.8

Expand Down

0 comments on commit 6eb07a7

Please sign in to comment.