mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
@@ -1,4 +1,5 @@
|
||||
{ "provide": [ "*/ql/src/qlpack.yml",
|
||||
{ "provide": [ "ruby/.codeqlmanifest.json",
|
||||
"*/ql/src/qlpack.yml",
|
||||
"*/ql/lib/qlpack.yml",
|
||||
"*/ql/test/qlpack.yml",
|
||||
"cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/tainted/qlpack.yml",
|
||||
|
||||
@@ -33,3 +33,4 @@ Note that the CWE coverage includes both "`supported queries <https://github.com
|
||||
java-cwe
|
||||
javascript-cwe
|
||||
python-cwe
|
||||
ruby-cwe
|
||||
|
||||
@@ -9,6 +9,7 @@ View the query help for the queries included in the ``code-scanning``, ``securit
|
||||
- :doc:`CodeQL query help for Java <java>`
|
||||
- :doc:`CodeQL query help for JavaScript <javascript>`
|
||||
- :doc:`CodeQL query help for Python <python>`
|
||||
- :doc:`CodeQL query help for Ruby <ruby>`
|
||||
|
||||
|
||||
.. pull-quote:: Information
|
||||
@@ -33,5 +34,6 @@ For a full list of the CWEs covered by these queries, see ":doc:`CodeQL CWE cove
|
||||
java
|
||||
javascript
|
||||
python
|
||||
ruby
|
||||
codeql-cwe-coverage
|
||||
|
||||
|
||||
8
docs/codeql/query-help/ruby-cwe.md
Normal file
8
docs/codeql/query-help/ruby-cwe.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# CWE coverage for Ruby
|
||||
|
||||
An overview of CWE coverage for Ruby in the latest release of CodeQL.
|
||||
|
||||
## Overview
|
||||
|
||||
<!-- autogenerated CWE coverage table will be added below -->
|
||||
|
||||
8
docs/codeql/query-help/ruby.rst
Normal file
8
docs/codeql/query-help/ruby.rst
Normal file
@@ -0,0 +1,8 @@
|
||||
CodeQL query help for Ruby
|
||||
============================
|
||||
|
||||
.. include:: ../reusables/query-help-overview.rst
|
||||
|
||||
For shorter queries that you can use as building blocks when writing your own queries, see the `example queries in the CodeQL repository <https://github.com/github/codeql/tree/main/ruby/ql/examples>`__.
|
||||
|
||||
.. include:: toc-ruby.rst
|
||||
@@ -79,9 +79,12 @@ fn main() -> std::io::Result<()> {
|
||||
.with_target(false)
|
||||
.without_time()
|
||||
.with_level(true)
|
||||
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
|
||||
.with_env_filter(
|
||||
tracing_subscriber::EnvFilter::try_from_default_env()
|
||||
.unwrap_or(tracing_subscriber::EnvFilter::new("ruby_extractor=warn")),
|
||||
)
|
||||
.init();
|
||||
|
||||
tracing::warn!("Support for Ruby is currently in Beta: https://git.io/codeql-language-support");
|
||||
let num_threads = num_codeql_threads();
|
||||
tracing::info!(
|
||||
"Using {} {}",
|
||||
|
||||
Reference in New Issue
Block a user