azsk / ADOScanner-docs

Welcome to the documentation of ADO Security Scanner!
MIT License
64 stars 14 forks source link

How to install ADOscanner without internet in the Agent, What are the dependencies packages to install in the agent without internet #73

Closed thangarajav closed 7 months ago

thangarajav commented 1 year ago

We are in an organization which doesnt allow us to use Internet in the production environment, We need to scan out ADO organizations and its pipeline with ADO security Scanner. when we tried to install, the scanning task is looking for below package via internet and the task gets failed. So we coped all those package in this location "c:\agent_work_task\ADOSecurityScanner_xxxxxxxxxxxxxx\1.5.7\ps_modules"

Please list out the packages & its version to install for ADO security scanner. Also help us the way to run the ADO security scanner without internet in the agent.

thangarajav commented 1 year ago

Build Error:

[warning]MSG:UnableToDownload «https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409» «»

[warning]Unable to download the list of available providers. Check your internet connection.

[warning]Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.

[error]No match was found for the specified search criteria for the provider 'NuGet'. The package provider requires 'PackageManagement' and 'Provider' tags. Please check if the specified package has the tags.

Finishing: ADOSecurityScanner

While running on Debug mode got this link "https://onegetcdn.azureedge.net/providers/providers.masterList.feed.swidtag" which has below package. We already added these packages in this location manually "c:\agent_work_task\ADOSecurityScanner_xxxxxxxxxxxxxx\1.5.7\ps_modules"

<?xml version="1.0" encoding="utf-8"?>

v-dpardeshi commented 7 months ago

Apologies for the inactivity on this thread. Currently, it is not supported to install the ADO scanner without an internet connection on the agent. We will notify you if we make any changes regarding this.