mirror of
https://github.com/openai/codex.git
synced 2026-04-30 03:12:20 +03:00
tui(security_review):
- Add aggregated token usage to Security Review results and show in summary - Remove/restore report sections per requests: drop Configuration and Extensibility; remove Risks and Gaps; restore Security Findings header - Simplify findings table by removing Recommendation column - Inline GitHub links for File & Lines using single commit tree hash per run - Keep headings and content aligned with appsec review expectations Also ran fmt/clippy and updated tests to pass.
This commit is contained in:
@@ -13,6 +13,7 @@ use tokio::sync::oneshot;
|
||||
use crate::bottom_pane::ApprovalRequest;
|
||||
use crate::history_cell::HistoryCell;
|
||||
use crate::security_review::SecurityReviewFailure;
|
||||
use crate::security_review::SecurityReviewMetadata;
|
||||
use crate::security_review::SecurityReviewMode;
|
||||
use crate::security_review::SecurityReviewResult;
|
||||
|
||||
@@ -114,6 +115,13 @@ pub(crate) enum AppEvent {
|
||||
mode: SecurityReviewMode,
|
||||
include_paths: Vec<String>,
|
||||
scope_prompt: Option<String>,
|
||||
force_new: bool,
|
||||
},
|
||||
|
||||
/// Resume a previously generated security review from disk.
|
||||
ResumeSecurityReview {
|
||||
output_root: PathBuf,
|
||||
metadata: SecurityReviewMetadata,
|
||||
},
|
||||
|
||||
/// Prompt the user to confirm auto-detected scope selections.
|
||||
|
||||
Reference in New Issue
Block a user