Azure / Azure/sql-action

The Action should be allowed to use Trusted Connections for SQL Server

オープン
#261 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
need-to-triage
主要言語
TypeScript
スター
142
フォーク
73
PR マージ指標
30日以内にマージされた PR はありません

説明

When trying to run using "Trusted Connection" instead of SQL logins, we get an error message from the action.

At least for local SQL instances, we would expect that the Trusted Connection should be allowed and we are able to manage our databases using this action. Using SQL logins only, seems to be a step backwards.

> Error: Invalid connection string. Please ensure 'User' or 'User ID' is provided in the connection string.

Example Connection string: Data Source=< Server >\\< Instance >;Initial Catalog=< database >;Integrated Security=true;

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

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

調査の方向性

まず action の connection-string 検証箇所を見つけ、提供された SQL Server の文字列で Integrated Security=true を使用して失敗を再現します。Trusted Connection 文字列を User または User ID なしで action が受け入れ、指定されたデータベースを管理できれば完了です。

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

評価

技術スタック
github-actions, sql, typescript
領域
ci-cd, databases
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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