Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. hashim.abu-gellban_3562
    3. Topics
    H
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by hashim.abu-gellban_3562

    • H

      Download/ upload a NuGet package using cmd with ProGet Key or Username/ password
      Support • • hashim.abu-gellban_3562  

      7
      0
      Votes
      7
      Posts
      26
      Views

      atripp

      @hashim-abu-gellban_3562 nice find, correct that was a typo :)
    • H

      What is SAML Identifier
      Support • • hashim.abu-gellban_3562  

      3
      0
      Votes
      3
      Posts
      15
      Views

      H

      @atripp Thank you!
    • H

      Download a NuGet package using cmd
      Support • • hashim.abu-gellban_3562  

      2
      0
      Votes
      2
      Posts
      31
      Views

      stevedennis

      Hi @hashim-abu-gellban_3562, I see a few issues here... First, the URL you're using is not correct; the easiest way to to find the url by clicking the "download package link" in the ProGet UI. It will look like this: /nuget/your-feed-name/package/your-package-name/your-version-number Second, you're downloading a file - so you want to use a powershell command like this: $url = "https://myprogetserver/feeds/mynuggets/package/mypackage/1.0.0" $destination = "c:\mypackages\mypackage-1.0.0.zip" Invoke-WebRequest -Uri $url -OutFile $destination Best, Steve
    • H

      ProGet API to get the operating systems of all Docker images
      Support • • hashim.abu-gellban_3562  

      4
      0
      Votes
      4
      Posts
      25
      Views

      dean-houston

      Hi @hashim-abu-gellban_3562, Due to some reasons I don't fully understand, authenticating to the Docker API requires using a Bearer authentication token Authorization: Bearer {token} Here is an example for how to get that token: function GetDockerToken() { param ( [string] $packageName = $(throw "-packageName is required. This is the namespace and image name. For example: library/my-container-image"), [string] $feed = $(throw "-feed is required"), [string] $actionToAuthorize = $(throw "-action is required. This is the docker action to be authorized (pull, push, delete, etc)"), [string] $apiKey = $(throw "-apiKey is required"), [string] $progetBaseUrl = $(throw "-progetBaseUrl is required. "), [string] $service ) if ($service -eq "") { # This expects that $progetBaseUrl is prepended with "https://" If you are using "http://" then change 8 to 7 below. $service = $progetBaseUrl.SubString(8,$progetBaseUrl.Length-8) } $base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f "api","$apiKey"))) $response = Invoke-WebRequest -Uri "$progetBaseUrl/v2/_auth?service=$service&scope=repository`:$feed/$packageName`:$actionToAuthorize" -Headers @{Authorization=("Basic {0}" -f $base64AuthInfo)} if ($response.StatusDescription -eq "OK") { $token = ($response.Content | ConvertFrom-Json).token $token } } I know we plan to document all this better some day, for now you can find the Semantic Versioning for Containers page. Dean
    • H

      Clair: VulnerabilitySource
      Support • • hashim.abu-gellban_3562  

      9
      0
      Votes
      9
      Posts
      19
      Views

      rhessinger

      Hi @hashim-abu-gellban_3562, Happy to hear the config fixed your issue on the clair container. In ProGet v2022 we moved the feed vulnerability source to the Reporting & SCA > Vulnerabilities > Configure Vulnerability Download Blocking page. You should be able to wire it up from there. I'll make sure to update our documentation with these changes as well. Thanks, Rich
    • 1 / 1