-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cli): include queries filter #3431
Conversation
Scan submitted to Checkmarx |
86bf4d2
to
91531c5
Compare
Signed-off-by: Rogério Peixoto <[email protected]>
91531c5
to
9c8421e
Compare
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.
LGTM
Instant of include or excluding quires each times, we can do better by creating profiles. suppose a user wanted to exclude/ include only selected 100 queries than each time, user has to do the same thing which can lead to bad user experiences and bad developer practices as well. So instant of doing the same thing multiple times, if we can create a profile for this user and puts all selected quires into that profile than we can provide --profile options, which is a great in-terms of user experiences. |
Hi @mukeshpilaniya could this |
Closes #3413
Proposed Changes
--include-queries
or-i
shorthand to include specific queries from a filesystem query source.source.ExcludeQueries
andsource.IncludeQueries
inside thesource.QueriesSelectionFilter
I submit this contribution under the Apache-2.0 license.