Add severity filtering to the incidents API
まだ誰も着手していません。
評価
調査の方向性
Start with dashboard_api/main.py and trace how GET /api/incidents reads query parameters and returns incidents. Check the existing tests for this endpoint and how supported severity values are represented; add automated coverage for valid and invalid filters, no matches, and requests without a filter. Done when all acceptance criteria pass, including coordination with the pagination issue if needed.
索引モデルが issue の本文から書いたものです。
説明
Problem
The GET /api/incidents endpoint currently returns all security incidents without filtering options.
Analysts may want to focus on incidents with a particular severity level.
Suggested Implementation
Add an optional severity query parameter to the incidents endpoint.
Relevant File
dashboard_api/main.py
Acceptance Criteria
- Support filtering incidents by severity.
- Validate supported severity values.
- Return an empty list when no incidents match.
- Preserve existing behavior when no filter is supplied.
- Add automated tests.
- Coordinate with the incident pagination issue if necessary.
- 主要言語
- Python
- スター
- 1
- フォーク
- 3
- 平均マージ
- 47分
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hrittijab/SecureOps のほかの issue
-
enhancement good first issue help wanted python streaming
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
enhancement good first issue help wanted java
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
good first issue help wanted java testing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
help wanted java testing
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
dashboard enhancement good first issue help wanted python
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
hrittijab/SecureOps の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
bad-antics/lateralus-lang#1623 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
fossguild/thelifesnake#82 ·
メンテナーはふだん 1 日以内に返信
-
Unfitted DialectClassifier crashes with a confusing ValueError: raise a clear "not fitted" errorオープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
omarelshamy25x/shamy-arabic-nlp#111 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pietbarber/Manage2Soar#1189 ·
メンテナーはふだん 1 日以内に返信
-
BUG: write_netcdf fails on Tutorial 3 BEM output with pandas CategoricalDtype DOF coordinates対応中かも @dtgaebe が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
sandialabs/WecOptTool#467 ·