Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support Positive globs #663

Closed
bzhu94 opened this issue Dec 5, 2024 · 0 comments · Fixed by #665
Closed

Support Positive globs #663

bzhu94 opened this issue Dec 5, 2024 · 0 comments · Fixed by #665

Comments

@bzhu94
Copy link

bzhu94 commented Dec 5, 2024

Is your feature request related to a problem? Please describe.
Currently for my scenario, I would like to run DevSkim analyze for specific file types (only Powershell in this case) across my repo. Currently the Globs parameter doesn't seem to support inversion globs such as **/*,!**/*.ps1 for my scenario to work.

Describe the solution you'd like
Either support inversion globs via the Globs parameter, or better yet, create a new positive glob parameter in the analyze command to list files / directories to include in the DevSkim command.

Describe alternatives you've considered
As a workaround, I need to list out all the current supported file types by DevSkim in the Globs parameter except for Powershell for my scenario

Additional context
N/A

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant