Feature Request: Make deviations feature work on custom CodeQL queries as well.

Open
#589 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Domain
security

Research direction

Start with docs/user_manual.md and its “Applying deviations” section to understand the current mechanism and its repository-specific assumptions. Define how deviations should apply to custom CodeQL queries outside this repository, including the expected configuration or query-pack boundary. Done means the documented mechanism can suppress false positives or deviate from rules implemented in external custom queries.

Written by the indexing model from the issue text.

Description

Currently, only the queries in the codeql-coding-standards repository can be deviated using the deviations mechanism explained in the user manual (refer here). Is it possible to make this feature work on any CodeQL query? This would be useful to suppress False Positives or deviate from specific rules that are implemented outside of the coding-standards query packs (e.g. custom Coding Rule checkers of organizations).

Dominant language
CodeQL
Stars
227
Forks
82
Avg merge
6d 7h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/codeql-coding-standards

All issues in github/codeql-coding-standards

Similar issues

More Security issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.