cargo fmt
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
use crate::detections::{configs, detection::EvtxRecordInfo, utils};
|
|
||||||
use crate::detections::print::{LOGONSUMMARY_FLAG, STATISTICS_FLAG};
|
use crate::detections::print::{LOGONSUMMARY_FLAG, STATISTICS_FLAG};
|
||||||
|
use crate::detections::{configs, detection::EvtxRecordInfo, utils};
|
||||||
use hashbrown::HashMap;
|
use hashbrown::HashMap;
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
@@ -35,8 +35,7 @@ impl EventStatistics {
|
|||||||
|
|
||||||
pub fn evt_stats_start(&mut self, records: &[EvtxRecordInfo]) {
|
pub fn evt_stats_start(&mut self, records: &[EvtxRecordInfo]) {
|
||||||
// 引数でstatisticsオプションが指定されている時だけ、統計情報を出力する。
|
// 引数でstatisticsオプションが指定されている時だけ、統計情報を出力する。
|
||||||
if !*STATISTICS_FLAG
|
if !*STATISTICS_FLAG {
|
||||||
{
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -51,8 +50,7 @@ impl EventStatistics {
|
|||||||
|
|
||||||
pub fn logon_stats_start(&mut self, records: &[EvtxRecordInfo]) {
|
pub fn logon_stats_start(&mut self, records: &[EvtxRecordInfo]) {
|
||||||
// 引数でlogon-summaryオプションが指定されている時だけ、統計情報を出力する。
|
// 引数でlogon-summaryオプションが指定されている時だけ、統計情報を出力する。
|
||||||
if !*LOGONSUMMARY_FLAG
|
if !*LOGONSUMMARY_FLAG {
|
||||||
{
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
use crate::detections::{configs::CONFIG, detection::EvtxRecordInfo};
|
|
||||||
use crate::detections::print::{LOGONSUMMARY_FLAG, STATISTICS_FLAG};
|
use crate::detections::print::{LOGONSUMMARY_FLAG, STATISTICS_FLAG};
|
||||||
|
use crate::detections::{configs::CONFIG, detection::EvtxRecordInfo};
|
||||||
use prettytable::{Cell, Row, Table};
|
use prettytable::{Cell, Row, Table};
|
||||||
|
|
||||||
use super::statistics::EventStatistics;
|
use super::statistics::EventStatistics;
|
||||||
|
|||||||
Reference in New Issue
Block a user