diff --git a/docs/codeql/query-help/codeql-cwe-coverage.rst b/docs/codeql/query-help/codeql-cwe-coverage.rst index 680f41b1056..54219ea8f3b 100644 --- a/docs/codeql/query-help/codeql-cwe-coverage.rst +++ b/docs/codeql/query-help/codeql-cwe-coverage.rst @@ -4,6 +4,7 @@ CodeQL CWE coverage You can view the full coverage of MITRE's Common Weakness Enumeration (CWE) or coverage by language for the latest release of CodeQL. .. include:: ../reusables/kotlin-beta-note.rst +.. include:: ../reusables/swift-beta-note.rst About CWEs ########## @@ -36,4 +37,5 @@ Note that the CWE coverage includes both "`supported queries ` - :doc:`CodeQL query help for Go ` - :doc:`CodeQL query help for Java and Kotlin ` -- :doc:`CodeQL query help for JavaScript ` +- :doc:`CodeQL query help for JavaScript and TypeScript ` - :doc:`CodeQL query help for Python ` - :doc:`CodeQL query help for Ruby ` +- :doc:`CodeQL query help for Swift ` .. include:: ../reusables/kotlin-beta-note.rst +.. include:: ../reusables/swift-beta-note.rst .. pull-quote:: Information @@ -36,4 +38,5 @@ For a full list of the CWEs covered by these queries, see ":doc:`CodeQL CWE cove javascript python ruby + swift codeql-cwe-coverage diff --git a/docs/codeql/query-help/swift-cwe.md b/docs/codeql/query-help/swift-cwe.md new file mode 100644 index 00000000000..2dde42f0583 --- /dev/null +++ b/docs/codeql/query-help/swift-cwe.md @@ -0,0 +1,8 @@ +# CWE coverage for Swift + +An overview of CWE coverage for Swift in the latest release of CodeQL. + +## Overview + + + diff --git a/docs/codeql/query-help/swift.rst b/docs/codeql/query-help/swift.rst new file mode 100644 index 00000000000..8f14dcde284 --- /dev/null +++ b/docs/codeql/query-help/swift.rst @@ -0,0 +1,10 @@ +CodeQL query help for Swift +=========================== + +.. include:: ../reusables/query-help-overview.rst + +These queries are published in the CodeQL query pack ``codeql/swift-queries`` (`changelog `__, `source `__). + +For shorter queries that you can use as building blocks when writing your own queries, see the `example queries in the CodeQL repository `__. + +.. include:: toc-swift.rst diff --git a/docs/codeql/writing-codeql-queries/creating-path-queries.rst b/docs/codeql/writing-codeql-queries/creating-path-queries.rst index e2325ee696c..bf0521b8555 100644 --- a/docs/codeql/writing-codeql-queries/creating-path-queries.rst +++ b/docs/codeql/writing-codeql-queries/creating-path-queries.rst @@ -30,7 +30,7 @@ For more language-specific information on analyzing data flow, see: - ":ref:`Analyzing data flow in JavaScript/TypeScript `" - ":ref:`Analyzing data flow in Python `" - ":ref:`Analyzing data flow in Ruby `" - +- ":ref:`Analyzing data flow in Swift `" Path query examples *******************