Skip to content

Exclude noisy crypto rules from the repo's CodeQL runs#125364

Merged
GrabYourPitchforks merged 3 commits intomainfrom
levib/codeql-exclusions
Mar 14, 2026
Merged

Exclude noisy crypto rules from the repo's CodeQL runs#125364
GrabYourPitchforks merged 3 commits intomainfrom
levib/codeql-exclusions

Conversation

@GrabYourPitchforks
Copy link
Member

We don't want crypto-related CodeQL rules running over the crypto code itself. Those rules are meant for consumers of crypto and are not appropriate to run over crypto implementations or interop code. We scope the exclusions so that crypto consumers still receive alerts.

Copilot AI review requested due to automatic review settings March 10, 2026 05:10
@github-actions github-actions bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Mar 10, 2026
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the repository’s CodeQL configuration to reduce noise from crypto-related CodeQL queries when analyzing the repo’s own cryptography implementations and interop layers, while preserving alerts for crypto consumers elsewhere in the repo.

Changes:

  • Adds query exclusions for several crypto-related CodeQL rules when scanning specific cryptography implementation/interop paths.
  • Documents the rationale for excluding these rules in implementation code while keeping them enabled for consumer code.

You can also share your feedback on Copilot code review. Take the survey.

@GrabYourPitchforks GrabYourPitchforks enabled auto-merge (squash) March 10, 2026 22:26
@GrabYourPitchforks
Copy link
Member Author

/ba-g deadletter - no code or build changes within this PR

@GrabYourPitchforks GrabYourPitchforks merged commit 8cf2e90 into main Mar 14, 2026
154 of 156 checks passed
@GrabYourPitchforks GrabYourPitchforks deleted the levib/codeql-exclusions branch March 14, 2026 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants