-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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(misconf): Support --skip-*
for all included modules
#7579
Conversation
--skip-*
for all included modules
I looked into it but since we already parse individual files within the parser, I found it easier to just do it there. Also at the parser level the file paths are rooted at the scan target. Keeping it as option on each parser can also help us change each parser's behavior for skip files. But if you think otherwise, feel free to push your changes to this branch. |
Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
7cbef04
to
b49dc9c
Compare
Description
Add support for
skip-dirs
andskip-files
in misconfig scanning at the parsing stage. This allows us to filter out un-needed files prior to scanning rather than post scanning, thereby reducing scanning time and memory.Related issues
Checklist