Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Feature Request: Delay packages pulled through connectors if the package is less than x days old

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 5 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      harald.somnes.hanssen_2204
      last edited by harald.somnes.hanssen_2204

      Is it possible to add a filter which hides packages that are less than x days old in the connector settings? This is specifically packages that are pulled through external package repositories.

      The date could be published date noted in the package.

      From a security point of view, it would be ideal that a package gets a few days or a week, to see if there are bugs or updates during that time period before actually pushing the package into the feed via the connector.

      Why: For instance NPM
      Recently the UA-parser-js was discovered to have malicious code and it took 4 days(?)
      https://snyk.io/vuln/npm:ua-parser-js

      dean-houstonD 1 Reply Last reply Reply Quote 0
      • dean-houstonD Offline
        dean-houston inedo-engineer @harald.somnes.hanssen_2204
        last edited by

        @harald-somnes-hanssen_2204 unfortunately not; a feed index provides details about only the latest version of a package. You need a separate query to find details about all versions of a package, and then would need to do that query for each package in an index

        Instead, it's better to just have a feed of approved packages that developers could use. This will let you also filter for other problems like quality.

        We recently published some advice about, but it's for nuget feeds. https://blog.inedo.com/nuget/package-approval-workflow

        It would work the same way for npm though

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation