r/golang•
johnharris85

Code Review: Simple Docker Image Policy Scanner

Have written a pretty simple (~250loc) Docker image scanner. Would really appreciate some constructive feedback / code review.

Takes in a docker inspect <image> JSON as an input to stdin and a policy file.

Code: https://pastebin.com/QzHqtLWc

Sample Policy: https://pastebin.com/3ZFWqHJi

Posted Aug 14, 2017, 7:30 PM UTC

10
Loading comments…