Coder Social home page Coder Social logo

vendorme's Introduction

vendorme

Vendorme is a tool that makes vendoring your project easier to do. It improves the developer workflow by giving you one single place to manage any vendored dependencies, and ensures that those are validated properly to improve the security around your supply chain.

Installation

With go 1.16 installed, run

go install github.com/buildsec/vendorme@latest

How it works

Vendorme takes a basic definition of what you want to vendor, and how to validate it. It will then go through your file - see example

Currently it only supports rekor validations.

Useage

vendorme pull will default to looking for a vendor.yaml

Vendorme CLI

otherwise vendorme pull yourvendorfile.yaml

vendorme's People

Contributors

trmiller avatar bradbeck avatar sudo-bmitch avatar mlieberman85 avatar dependabot[bot] avatar

Stargazers

R avatar jhvaras avatar Batuhan Apaydın avatar Tuan Anh Tran avatar  avatar  avatar  avatar

Watchers

 avatar  avatar James Cloos avatar Jon Kent avatar  avatar Joshua L Lucas avatar

vendorme's Issues

Refactor testing

Testing doesn't follow idiomatic Go patterns very well, since tests are in a different package from the code being tested, and test data is mixed in the directory with the tests. Raising this issue as a future task for myself to refactor the test code with the following:

  • Move data to testdata
  • Move tests on functions to be in the same package next to that function
  • Move end to end tests that call external hosts to run with a specific tag

Should we validate on digest only?

https://github.com/trmiller/vendorme/blob/0b7091a0736be19ca2fd0a3245d997356822ba07/cmd/cli/rekor/rekoruuid_validator.go#L59

The above will error on an image with the same digest but just a different URI, e.g. registry or name. I noticed this recently with gcr where they have both a global registry gcr.io as well as region specific subdomains like asia.gcr.io and

Separately do we want to just validate images in almost a reverse way? Ignore if the image isn't found in the release at all just ensure that all images inside a release have valid attestations associated with them? This would probably be difficult given the current setup as different images could have different attestations.

See: tektoncd/chains#305 as an example

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.