Skip to content

Add Rust audit suite and configs - #263

Merged
felickz merged 1 commit into
mainfrom
chore/add-rust-audit-config
Nov 24, 2026
Merged

felickz merged 1 commit into
mainfrom
chore/add-rust-audit-config

Conversation

@felickz

@felickz felickz commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a Rust audit suite selecting audit-tagged queries.
  • Include Rust in the default, audit, synthetic, and hardcoded-credentials configurations.
  • Update the configuration docs; Rust was already present in the quality config.

Validation

  • Parsed all shared config YAML and the new audit suite.
  • git diff --check passes.
  • CodeQL CLI was unavailable locally, so the suite was not compiled.

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 24, 2026 18:35

@felickz felickz left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:octocat: 👍

@felickz
felickz merged commit 1302f83 into main Nov 24, 2026
30 checks passed
@felickz
felickz deleted the chore/add-rust-audit-config branch November 24, 2026 18:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The enabled Rust audit suite is absent from the unchanged v0.9.2 query pack, so scans cannot resolve it until a pack containing the suite is published or the entry is deferred.

1 open issue
What changed in this PR

Adds Rust audit support and extends the shared CodeQL configurations to include Rust queries and models.

Changes:

  • Adds a Rust suite selecting audit-tagged queries.
  • Includes Rust in the default, audit, synthetic, and hardcoded-credentials configurations.
  • Updates documentation to reflect Rust audit support and revised credential-query counts.
File Description
rust/​src/​suites/​rust-audit.qls Adds the audit-tagged Rust query suite.
configs/​synthetics.yml Adds Rust built-in queries, community queries, and extensions.
configs/​README.md Updates audit availability and credential-query counts.
configs/​hardcoded-credentials.yml Adds the Rust hardcoded cryptographic key query.
configs/​default.yml Adds Rust community queries and extensions.
configs/​audit.yml References the Rust audit suite and extensions.

Review effort: Balanced

Comment thread configs/audit.yml
# Python
- githubsecuritylab/codeql-python-queries:suites/python-audit.qls
# Rust
- githubsecuritylab/codeql-rust-queries:suites/rust-audit.qls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants