renatoeufe / azuredevops-depscan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure Devops Depscan

Azure Devops Depscan is a command-line interface (CLI) tool built with .NET Core, designed to search for outdated NuGet packages within an Azure DevOps environment. By utilizing Azure DevOps search APIs, it allows you to efficiently scan without downloading the entire codebase.

Features

  • Scan projects in Azure DevOps for outdated NuGet packages.
  • Quick analysis without the need for downloading the whole codebase.
  • Easy-to-use command-line interface.

Prerequisites

  • NET6 or higher
  • Access to Azure DevOps with appropriate permissions.

Installation

  1. Clone the repository.
git clone https://github.com/renatoeufe/azuredevops-depscan.git
  1. Navigate to the project folder.
cd azuredevops-depscan
cd src

Build the project.

dotnet build

Usage

Use the following command to search for outdated NuGet packages:

depscan-cli-netcore 
  --user your_email (required)
  --accesstoken your_azure_devops_personal_access_token (required)
  --organization your_org_name (required)
  --feed your_feed_name (optional)
depscan-cli-netcore 
  --user your_email
  --accesstoken your_azure_devops_personal_access_token 
  --organization your_org_name 
  --feed your_feed_name (optional)
  --project azure_devops_project_name (optional)
  --repo azure_devops_repo_name (optional)

Contributing

We welcome contributions!

About


Languages

Language:JavaScript 72.0%Language:SCSS 23.2%Language:C# 4.1%Language:HTML 0.6%Language:CSS 0.1%