Can I use DevSkim to detect and flag based not on file content but file name, file extension, existence or other file metadata?
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
Issue にはファイル、テスト、エントリーポイントが記載されていません。まず DevSkim のルールを特定してエントリーポイントを調べ、次にルールでファイル名、拡張子、隣接するファイル、メタデータを検査できるかどうかを判断します。完了条件には、要求された .exe のケースとリポジトリコンテキストのケースをフラグする方法が定義されており、サポートされていないメタデータに対する動作も明確になっている必要があります。
索引モデルが issue の本文から書いたものです。
説明
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 はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/DevSkim のほかの issue
-
exclude_file_regex and applies_to_file_regex only see the file name in devskim analyze対応中かも @gfs が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
The DevSkim Repository Description still mentions IDE extensions but these are not longer includedオープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
-
DS117838 and DS173237 report published sha256 digests as secrets対応中かも @gfs が 3 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
-
How to match files without a file extension?対応中かも @gfs が 168 日前に担当しました。 オープンenhancement
-
Support for HTML (see attached example rule)対応中かも @Guflly が 90 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
microsoft/DevSkim の issue をすべて見る
似ている issue
-
possible bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
:1st_place_medal: good first issue :cowboy_hat_face: refactor :roller_coaster: enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ApplETS/Backend-Hello#78 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信
-
status/triage
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Altinn/altinn-studio#21642 ·
メンテナーはふだん 1 日以内に返信
-
bug effort:S P3
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
nightscout/nocturne#3093 ·
メンテナーはふだん 1 日以内に返信