chore: exclude the two P/Invoke audit queries in codeql.yml (Standards §4.4) - #31
Merged
Merged
Conversation
…s §4.4) Adopts the revised canonical codeql.yml (standards PR #18): a query-filters block excluding cs/unmanaged-code and cs/call-to-unmanaged-code. These audit queries fire on every P/Invoke into the Keychain/libsecret/DPAPI backends and no code change resolves them (native interop is the point). Excluding exactly those two — every other security-and-quality query still runs on the interop files — is a genuine config fix that replaces the per-alert dismissals, which reopened whenever a reformat shifted line numbers. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adopts the revised canonical
codeql.ymlfrom NextIteration.Standards#18 — aquery-filtersblock excluding exactlycs/unmanaged-codeandcs/call-to-unmanaged-code.These are audit queries that fire on every P/Invoke into the Keychain/libsecret/DPAPI backends. No code change resolves them — native interop is the whole point of these backends. Excluding exactly those two is a genuine config fix (every other
security-and-qualityquery still runs on the interop files, so nothing real is lost), and it replaces the per-alert won't fix dismissals that kept reopening whenever a reformat shifted a line number (twice this week).After this merges, the previously-dismissed P/Invoke alerts simply won't be produced.
🤖 Generated with Claude Code