Replies: 1 comment
-
|
For this case I would separate two things:
A To exclude directories, you usually need to do it at database creation / extraction time. If you are using a CodeQL configuration file, you can use # codeql-config.yml
name: "CodeQL config"
paths-ignore:
- third_party/**
- vendor/**
- generated/**
- tests/** |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to analyse a codebase with C, C++ using the MISRA/CERT query package during analysis.
I found there are many false positives which are not required to solve this I need to exclude some directories which are not required.
To solve this issue, I think in the official documentation, they gave methods using github workflow technique
But isn't there any other way while analysing the database to exclude directories? By writing a YAML file or including the directories you want to exclude in the .qls file, as we do for excluding queries.
If there are any other methods to exclude dir please let me know
Beta Was this translation helpful? Give feedback.
All reactions