News for hackers. Stuff that matters.
Re:Show HN: Smallest Node.js Docker images by bloopernova on Wednesday November 14, 2018 @11:40AM (#18451184)
Figure I would ask here: Have any DevOps or build folks had to deal with compliance audits regarding their docker containers?

It's something certain developers I've encountered seem to ignore, even when creating something that might handle health or financial information.

Did you have to build your docker images from scratch, or did the security audit folks certify upstream images? What about updates?

Re:Show HN: Smallest Node.js Docker images by choosegoose on Wednesday November 14, 2018 @12:18PM (#18451563)
We use Twistlock (https://www.twistlock.com/) as it does the CVE scanning but you can setup rules for compliance, binary monitoring and a whole plethora of other security/auditing type things. It also has a jenkins plugin so you can fail builds if a certain threshold of CVEs/compliance failures are introduced by developers (the only way to actually get the team to care about security).

Our security folks haven't really decided what to do with containers although some people are just using RHEL7 base images since its "enterprise-y". Our group personally uses alpine base images. If we have something like a java service hosted by Tomcat, we build alpine then build tomcat and then build our "service" container. While most people are fine pulling from Dockerhub, we do work in closed-loop environments and have a private docker registry where we host our "chain" of docker images which are versioned and updated regularly.

Re:Show HN: Smallest Node.js Docker images by bloopernova on Wednesday November 14, 2018 @12:27PM (#18451667)
Thank you, I will check that out.
Re:Show HN: Smallest Node.js Docker images by tonyhb on Wednesday November 14, 2018 @12:00PM (#18451385)
Docker actually does this for you via Cloud when you store your images. It performs static analysis of all files/libs in your container to check for vulnerabilities, as opposed to the simpler `dpkg` list check which is not accurate.
Re:Show HN: Smallest Node.js Docker images by bloopernova on Wednesday November 14, 2018 @12:10PM (#18451483)
Cool, so at least some folks are thinking about this sort of thing. Thank you for the response!
Re:Show HN: Smallest Node.js Docker images by FrenchTouch42 on Wednesday November 14, 2018 @03:56PM (#18453861)
Assuming you have a shell within your container, InSpec can be a great tool (https://www.inspec.io/) as you can pass a "docker" target for your compliance profiles.

Works great for us :)

Re:Show HN: Smallest Node.js Docker images by orf on Wednesday November 14, 2018 @11:41AM (#18451197)
Gitlab has a bunch of features around this: licensing, package scanning and docker CVE scanning.
Re:Show HN: Smallest Node.js Docker images by bloopernova on Wednesday November 14, 2018 @12:08PM (#18451458)
Cool, I had no idea. Thank you!