github / github/ossar-action

Improve tool names in sarif output

オープン
#23 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
100
フォーク
29
PR マージ指標
30日以内にマージされた PR はありません

説明

@davidknise You seem to be the main maintainer of this repo.

Bandit and Gosec are using the name property for outputting a description (`Security audit for python by bandit` and `Golang security checks by gosec`).

At Github Code Scanning, we use those names for displaying the tool at the Security page. We added some internal logic for handling these special cases and rename them to the tool name, but we are in the process of cleaning up the code and removing it. We suggest using the name property for outputing the tool name (Bandit, and Gosec), and the [fullName](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html#_Toc16012498) or [short](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html#_Toc16012508)/[longDescription](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html#_Toc16012509) properties for storing the current long name.

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

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

調査の方向性

Bandit と Gosec の SARIF 生成およびツールメタデータの処理を調査し、出力されるフィールドをリンク先の SARIF 仕様のプロパティと比較します。name フィールドにツール名が含まれ、既存の説明テキストが適切な fullName、short、または longDescription フィールドに格納されていれば完了です。

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

評価

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

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

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