Shopify/kubeaudit

Scan multiple files at once

Open

#341 opened on May 25, 2021

 (5 comments) (1 reaction) (0 assignees)Go (189 forks)auto 404
help wanted

Repository metrics

Stars
 (1,939 stars)
PR merge metrics
 (PR metrics pending)

Description

ISSUE TYPE
  • Feature Idea

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 container

ENVIRONMENT
  • latest docker version

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:

time="2021-05-25T14:45:41Z" level=fatal msg="Error opening manifest file" error="open /app/*.y\\*ml): no such file or directory"

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.

Contributor guide