Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. johnsen_7555
    J
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    johnsen_7555

    @johnsen_7555

    0
    Reputation
    9
    Posts
    2
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    johnsen_7555 Follow

    Best posts made by johnsen_7555

    This user hasn't posted anything yet.

    Latest posts made by johnsen_7555

    • RE: Using multi-level feeds with passthrough is failing

      Many thanks for that proposal, Steve! The warning label in conjunction with dumping of the package cache sounds like it is worth exploring. I shall discuss it with my security and governance collaborators :-)

      posted in Support
      J
      johnsen_7555
    • RE: Using multi-level feeds with passthrough is failing

      Thanks for the reply, Steve.
      The main problem with the conventional approvals workflow you linked to is the lack of sufficient approver capacity. Hence, the plan is run a setup that allows packages through unchallenged if their licences are acceptable and there are no recorded vulnerabilities. I'm aware of the typo squatter and malicious insider, etc. risks that this does not address.

      At any rate, the idea above was that if a package fails that first filter, it can be automatically quarantined and flagged for review. Upon review, if approved, that same package can then via the "manual" promotion mechanic that you reference be inserted into the general feed, and found and consumed by its users via their standard index URL. To achieve this ProGet would need to notify a service that orchestrates this process, that in turn inserts the package into the quarantine feed and notifies the approvers.

      posted in Support
      J
      johnsen_7555
    • RE: Using multi-level feeds with passthrough is failing

      Many thanks for the explanation and the link, Steve!

      One key objective of this exercise is to arrive at a mostly automated workflow. One way I can still see this being achievable despite the lack of the special metadata API in the ProGet feed is to set up a second quarantine feed that only contains packages blocked by a first, main feed that connects directly to pypi.org but with very restrictive compliance settings.

      Could the following webhook provide those events to drive this quarantine workflow:
      64529264-3523-4807-8361-847bdeb80289-image.png

      posted in Support
      J
      johnsen_7555
    • RE: Using multi-level feeds with passthrough is failing

      Hi Steve

      Thanks!
      No, the python-accessible feed is not directly connected to Pypi, instead it uses passthrough-test-python as its upstream source, that in turn is connected 3rd party feeds including pypi.
      Only the python-accessible has blocking policies configured, while passthrough-test-python is configured to pass through non-compliant packages.

      If I try to list packages in the python-accessible feed I get:
      9461ae1d-e3ef-4738-b6c5-91c2968b171c-image.png
      However, I can successfully retrieve packages from the internal usptream feed when entering the exact package name, as instructed:
      e2709cc6-70e1-4629-971a-47cde216bfa5-image.png

      Digging into the package, and clicking on the latest version I arrive at:
      c5873df3-0501-4492-8254-daad84597d3e-image.png

      After downloading the package, by clicking on "Pull to ProGet", I get:
      3c7f6384-a3d0-4053-b0c3-12648efba0b0-image.png
      which is wrong, but the licence is then correctly displayed as the (compliant) 0BSD licence:
      14fdb401-5859-44a6-aa16-5b985816844f-image.png
      in the overview.

      posted in Support
      J
      johnsen_7555
    • RE: Using multi-level feeds with passthrough is failing

      Hi Steve,
      Thanks for the quick response. Good shout on using curl; it looks like this is indeed either another trial licence issue or its a problem with the licence policy failing to detect a permissible licence (which it sucessfully does if accessing the open feed directly):
      53933d76-8e74-4357-aa7a-96876b551a7d-image.png

      posted in Support
      J
      johnsen_7555
    • Using multi-level feeds with passthrough is failing

      Hi,
      We may have hit another snag with using a trial-licensed copy of ProGet (see also Enforcing Licence Policies/Blocking?):

      We're in the process of evaluating ProGet as part of larger solution for software supply chain control that relies heavily on automated, API-based interaction with the package manager.

      Part of this workflow is a triage process for unapproved packages with the option of an explicit approval. To that end I've configured two linked Python feeds in ProGet: python-accessible and passthrough-test-python, with the former being configured for explicit whitelisting and the latter being fully open. The python-accessible feed permits anonymous pulls and is configured with a connector to pull packages from the open feed, and the underlying idea is that packages that are blocked in the restricted feed can be seen in the open feed and run through a triage process with the option of granting security approval for their use.
      Unfortunately, the setting up of this configuration seems to be failing at the first hurdle. While upstream packages in the open feed are visible in the restricted feed, in the UI:
      506c6dce-fadd-4065-9e17-7d69c1d687d2-image.png
      Installing packages does not seem to be possible and failing with a status 400:
      aad0c4cc-d152-4279-998f-0c3cf9569d02-image.png

      Permissions do not appear to matter, since the same thing happens when using the Admin accocunt.

      The deployment is running 2024.9 Build 1, and is deployed to a Kubernetes cluster.

      Many thanks!

      posted in Support
      J
      johnsen_7555
    • RE: Enforcing Licence Policies/Blocking?

      Thanks, Dean. This new build does indeed resolve the issue:
      f146af02-09f1-4a91-839d-7f82d863c478-image.png

      Have a good weekend.

      posted in Support
      J
      johnsen_7555
    • RE: Enforcing Licence Policies/Blocking?

      Hi Dean,
      Thanks for the quick response. Here's an example called abydos where I even set the status to always block downloads:
      d1bde0c9-5c27-4a1e-8636-a08e4fd38923-image.png
      Not even the download of this package is blocked.

      Here's another example, the one whose download is shown above, plover-consol-ui, which again as expected shows it as noncompliant:
      d9429cf5-1434-49ca-854e-ea7a213f5e86-image.png

      posted in Support
      J
      johnsen_7555
    • Enforcing Licence Policies/Blocking?

      Hi,

      I'm in the process of evaluating ProGet as a solution for improving our software supply chain controls. To that end I've deployed ProGet Enterprise edition, version 2024.8 build 10, to a Kubernetes cluster with a trial licence and am currently trialing it's licence-based download blocking.

      A Python feed has been configured as follows in terms of its policies and blocking behaviour:
      ad11e498-79af-465b-bf72-5facdab199f2-image.png
      The global settings are applied to the feed which are to block anything noncompliant:
      4956d426-a8b8-4d65-945e-6e8faa291b0d-image.png
      However, in the box on the policy page it says that downloads are not blocked:
      415c99af-7fe1-453d-95d0-f80a423e0185-image.png
      And indeed if I try to download and install a GPLv3 licensed package into a test virtual environment I'm not encountering any issues:
      299744e7-e5f5-4056-9169-f5bd538e7d32-image.png
      The test user in question has been explicitly only permitted to view and download packages from this one feed:
      c1c1d4f7-90ae-421b-ac1f-4a3006efae7e-image.png

      Can you please point me in the right direction for enforcing the licence/vulnerability blocking?

      Many thanks,
      Stian

      posted in Support
      J
      johnsen_7555