Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. hashim.abu-gellban_3562
    3. Topics

    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!

    H Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 13
    • Groups 0

    Topics

    • H

      Download/ upload a NuGet package using cmd with ProGet Key or Username/ password

      Watching Ignoring Scheduled Pinned Locked Moved Support
      7
      0 Votes
      7 Posts
      26 Views
      atrippA
      @hashim-abu-gellban_3562 nice find, correct that was a typo :)
    • H

      What is SAML Identifier

      Watching Ignoring Scheduled Pinned Locked Moved Support
      3
      0 Votes
      3 Posts
      18 Views
      H
      @atripp Thank you!
    • H

      Download a NuGet package using cmd

      Watching Ignoring Scheduled Pinned Locked Moved Support
      2
      0 Votes
      2 Posts
      32 Views
      stevedennisS
      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

      Watching Ignoring Scheduled Pinned Locked Moved Support
      4
      0 Votes
      4 Posts
      34 Views
      dean-houstonD
      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

      Watching Ignoring Scheduled Pinned Locked Moved Support
      9
      0 Votes
      9 Posts
      19 Views
      rhessingerR
      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