github / github/codeql

C# Add support for authenticated nuget feeds

オープン
#21,520 コメント 4 件 リアクション 2 件 担当者 0 名 GitHub で見る
question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

**Description of the issue**

This is using advanced mode with `build-mode: none` to take advantage of the "no build" csharp analyzers.

When using authenticated nuget feeds with `build-mode: none`, CodeQL will try and restore the packages, however there are multiple errors within the logs indicating that the feed failed due to 401 errors:

```
[2026-03-20 02:10:31] [build-stdout] Checking if NuGet feed 'https://my-artifactory-feed' is reachable...
[2026-03-20 02:10:31] [build-stdout] Querying NuGet feed 'https://my-artifactory-feed' failed in a timely manner. Not considering the feed for use. The reason for the failure: Response status code does not indicate success: 401.
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、build-mode: none での C# 分析における advanced-mode のパスを追跡し、NuGet フィードが確認され、パッケージが復元される箇所に注目します。認証済みフィードの資格情報がそのパスにどのように渡される想定なのかを明らかにします。認証済みフィードを、報告されている 401 エラーなしで使用できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
build-system
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。