Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Can I use DevSkim to detect and flag based not on file content but file name, file extension, existence or other file metadata?

オープン
#744 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
csharp
領域
devtools, security

調査の方向性

Issue にはファイル、テスト、エントリーポイントが記載されていません。まず DevSkim のルールを特定してエントリーポイントを調べ、次にルールでファイル名、拡張子、隣接するファイル、メタデータを検査できるかどうかを判断します。完了条件には、要求された .exe のケースとリポジトリコンテキストのケースをフラグする方法が定義されており、サポートされていないメタデータに対する動作も明確になっている必要があります。

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

説明

enhancement

I am wondering if I can flag files based on file name or extension? And preferably in combination with other files. Example use-case:

The scan folder contains an '.exe' file. I want to flag that exe file with the warning that pre-build files should not be part of the repository as it makes it harder to audit and verify the source code.

Preferably in combination with other files or folders. Such as, only flag the .exe file when the scan directory also contains a .git folder (not unlikely and indicating it's a git repo).

Or flag any blob for that matter. Perhaps files without file extension.

Or on any other metadata like, binaries unsinged by a trusted certificate etc.

主要言語
C#
スター
1k
フォーク
133
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/DevSkim のほかの issue

microsoft/DevSkim の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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