GeezerVison is showing github.com — Add capability to filter queries by aeisenberg · Pull Request #1098 · github/codeql-action
Conversation
aeisenberg
commented
Jun 14, 2022
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
This change adds a query-filters property to the codeql-config file.
This property is an array of exclude/include entries for a query
suite. These filters are appended to the generated query suite files
and used to filter queries after they are selected.
A related change is that now, all pack references are run in a single
query suite, which has the query filters appended to them.
Merge / deployment checklist
- Confirm this change is backwards compatible with existing workflows.
- Confirm the readme has been updated if necessary.
- Confirm the changelog has been updated if necessary.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This change adds a `query-filters` property to the codeql-config file.
This property is an array of `exclude`/`include` entries for a query
suite. These filters are appended to the generated query suite files
and used to filter queries after they are selected.
A related change is that now, all pack references are run in a single
query suite, which has the query filters appended to them.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Removes duplicated yaml.
Also add some better typings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor comments, but generally this looks good to me.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
|
@@ -0,0 +1,10 @@ |
|
|
name: "CodeQL config 1"
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for naming the tests in the workflow file. We could potentially add those names here too.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
- include:
|
|
|
tags contain: external/cwe/cwe-022
|
|
|
|
|
|
# Removes out js/path-injection
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
# Removes out js/path-injection |
|
# Removes js/path-injection |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
- include:
|
|
|
tags contain: external/cwe/cwe-022
|
|
|
|
|
|
# Removes out js/path-injection
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
# Removes out js/path-injection |
|
# Removes js/path-injection |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
- include:
|
|
|
tags contain: external/cwe/cwe-022
|
|
|
|
|
|
# Removes out js/path-injection
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
# Removes out js/path-injection |
|
# Removes js/path-injection |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jun 21, 2022
|
I am reverting this feature and creating a new release without it since we don't want this feature in GHES 3.6.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jun 22, 2022
This was referenced Aug 17, 2022
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|