Hide pretty name for webhook scanner rules
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 63/100
調査の方向性
まず webhook scanner rule のモデルと Django admin の設定を見つけ、pretty_name が未設定のときにどのように表示されるかを確認します。scanner rules では、値がない場合にこのフィールドを admin で非表示にします。未設定の pretty_name がそこで表示されなくなり、設定済みの値は引き続き利用できれば完了です。issue にファイルやテストの指定はないため、まず関連する admin テストを特定します。
索引モデルが issue の本文から書いたものです。
説明
We introduced pretty_name a long time ago when:
- people writing the rules weren't the people using the informations from the
rules - not all rules had a description or even more information about what the rule
is flagging - rule names were not normalized
With the scanner pipeline, all of these points aren't valid anymore because our
detection analysts are writing and using the rules, and more automation is (or
should) lead to less manual/human efforts anyway. All rules must have a
description and a ticket these days, so it's fine to keep the rule ID as-is
(which is now also normalized btw), since the description should explain what
the detection/finding is about.
There is no real good reason to keep pretty_name anymore, at least for the
scanners (and their rules) in the pipeline. This is confusing and inconsistent.
We should deprecate this field, and for that, we should hide it when it isn't
set in the django admin, as a first step towards removing it (in the far
future).
┆Issue is synchronized with this Jira Task
- 主要言語
- Makefile
- スター
- 133
- フォーク
- 52
- 平均マージ
- 8日 20時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mozilla/addons のほかの issue
-
component:pinguino_devhub needs:info
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
repository:addons-server
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
-
component:pinguino_devhub
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
[Bug]: Wrong casing of product names in addon history entries対応中かも @wassafshahzad が 9 日前に担当しました。 オープンcontrib:welcome
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
似ている issue
-
module/data.yaml Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
ballerina-platform/ballerina-library#9667 ·
メンテナーはふだん 1 日以内に返信
-
security
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
IBM/ibmi-mcp-server#256 ·
メンテナーはふだん 7 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
zilliztech/milvus-backup#1386 ·
メンテナーはふだん 1 日以内に返信
-
Pipelined flush no longer observes kill signals after #2042: flush backoffer is built with nil varsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
zilliztech/memsearch#853 ·
メンテナーはふだん 1 日以内に返信