Git Product home page Git Product logo

Comments (4)

danielpacak avatar danielpacak commented on June 14, 2024

Hi @danielpacak
For issue #5
I think you can consider using something like below command to get the latest release on github:

curl -sL -o /dev/null -w %{url_effective} https://github.com/aquasecurity/harbor-scanner-trivy/releases/latest

This is actually referenced from goreleaser script

Thank you @bitsf for the suggestion. We'll check if we can use it with https://github.com/aquasecurity/trivy /cc @knqyf263

from harbor-scanner-trivy.

bitsf avatar bitsf commented on June 14, 2024

@danielpacak Will this be fixed? harbor 2.0 will release soon.

from harbor-scanner-trivy.

danielpacak avatar danielpacak commented on June 14, 2024

@danielpacak Will this be fixed? harbor 2.0 will release soon.

@bitsf We double checked and unfortunately the anonymous access to the https://github.com/aquasecurity/trivy-db/releases/latest endpoint is also subject to rate limit. What's more we're downloading the latest asset file for the given release. And there's also flag to download full or light DB that we take into account in Trivy.

So for now and Harbor 2.0 the best is to go for GitHub token if the rate limit is a concern.

from harbor-scanner-trivy.

bitsf avatar bitsf commented on June 14, 2024

OK, got it.

from harbor-scanner-trivy.

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.