Shopify/kubeaudit

Scan multiple files at once

Aperta

#341 aperta il 25 mag 2021

 (5 commenti) (1 reazione) (0 assegnatari)Go (189 fork)auto 404
help wanted

Metriche repository

Star
 (1939 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor