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.

貢獻者指南