Skip to content

Commit

Permalink
UI(main): added message about reporting issues and FPss when json-tim…
Browse files Browse the repository at this point in the history
…eline or csv-timeline is used #1236
  • Loading branch information
hitenkoku committed Dec 19, 2023
1 parent fa8e518 commit ff18541
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,15 @@ impl App {
"General Overview {#general_overview}",
&stored_static.html_report_flag,
);
match stored_static.config.action {
Some(Action::CsvTimeline(_)) | Some(Action::JsonTimeline(_)) => {
println!();
println!("Please report any issues with Hayabusa rules to: https://github.com/Yamato-Security/hayabusa-rules/issues");
println!("Please report any false positives with Sigma rules to: https://github.com/SigmaHQ/sigma/issues");
println!("Please submit new detection rules with pull requests to: https://github.com/SigmaHQ/sigma/pulls");
}
_ => {}
}

// Qオプションを付けた場合もしくはパースのエラーがない場合はerrorのstackが0となるのでエラーログファイル自体が生成されない。
if ERROR_LOG_STACK.lock().unwrap().len() > 0 {
Expand Down

0 comments on commit ff18541

Please sign in to comment.