Shopify/kubeaudit

Scan multiple files at once

开放

#341 创建于 2021年5月25日

 (5 条评论) (1 个反应) (0 位负责人)Go (189 个派生)auto 404
help wanted

仓库指标

星标
 (1,939 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南