-
Notifications
You must be signed in to change notification settings - Fork 183
Scan multiple files at once #341
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
Thanks for your suggestion @danthegoodman1. The team will triage this issue in the next meeting. Also, feel free to open a PR if you have time/want to contribute! :) |
Agreed that support for multiple files would be really awesome. We've thought about implementing this before but got kind of stuck choosing the right approach. We could either
We could potentially get around the the con for option 2 by
|
a cheap solution is to use xargs, for example |
I've come up with this if someone need, it finds all files recursively. This might be useful for CI for example. |
ISSUE TYPE
BUG REPORT
SUMMARY
It would be great if there was a way to pass multiple files to
kubeaudit
so that it could do many at once, specifically for the docker containerENVIRONMENT
Proposal:
Being able to run a command like:
docker run -v $(pwd):/app shopify/kubeaudit all -f /app/*.y\*ml
would be sublime. The above command spits out:
If I manually pass multiple files in with working paths that I've tested individually, it only scans the first file, all others are ignored.
The text was updated successfully, but these errors were encountered: