Giter VIP home page Giter VIP logo

Comments (6)

hashmap avatar hashmap commented on May 29, 2024 3

Whitelisting has been implemented in #98, please try the latest release

from klar.

hashmap avatar hashmap commented on May 29, 2024

@wurstbrot Could you elaborate a bit? What is the use case?

from klar.

elblivion avatar elblivion commented on May 29, 2024

This would be interesting, e.g. I just checked an image we build FROM golang:1.8 and it has 56 high risk vulns, many of which do not affect us. For example, this particular image will never be running a Mercurial server:

CVE-2017-9462: [High]
Found in: mercurial
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and consequently execute arbitrary code, by using --debugger as a repository name.
https://security-tracker.debian.org/tracker/CVE-2017-9462

Here's an example from clair-scanner: https://github.com/arminc/clair-scanner#example-whitelist-yaml-file

from klar.

pawelprazak avatar pawelprazak commented on May 29, 2024

IMO it would be very helpful if we could fail the build only on fixable/patch released packages.

quay.io shows that information and I was wondering if clair also provide this info, if yes I think it should be exposed to a client:
image

from klar.

jasonumiker avatar jasonumiker commented on May 29, 2024

+1 to having a way, perhaps via a whitelist YAML file or something, to allow a build to pass if a certain CVE is detected where the risk is accepted for now.

from klar.

owms avatar owms commented on May 29, 2024

+1 for a whitelist feature. We have CLAIR_THRESHOLD and CLAIR_OUTPUT but these do not provide the granularity that a whitelist would. See the clair-scanner project for an example implementation.

from klar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.