This commit is contained in:
kazuminn
2021-12-09 01:15:01 +09:00
parent 3f11e426ba
commit 360d80b578
3 changed files with 2 additions and 20 deletions
+1 -1
View File
@@ -264,7 +264,7 @@ mod tests {
#[test] #[test]
fn test_exclude_rules_file() { fn test_exclude_rules_file() {
let mut yaml = yaml::ParseYaml::new(); let mut yaml = yaml::ParseYaml::new();
let path = Path::new("test_files/rules/exclude_rules"); let path = Path::new("test_files/rules/yaml");
yaml.read_dir(path.to_path_buf(), &"", &fillter::exclude_ids()) yaml.read_dir(path.to_path_buf(), &"", &fillter::exclude_ids())
.unwrap(); .unwrap();
assert_eq!(yaml.ignorerule_count, 1); assert_eq!(yaml.ignorerule_count, 1);
-19
View File
@@ -1,19 +0,0 @@
title: Sysmon Check command lines
id : 4fe151c2-ecf9-4fae-95ae-b88ec9c2fca6
description: hogehoge
enabled: true
author: Yea
logsource:
product: windows
detection:
selection:
EventLog: Sysmon
EventID: 1
CommandLine: '*'
condition: selection
falsepositives:
- unknown
level: medium
output: 'CommandLine=%CommandLine%¥nParentImage=%ParentImage%'
creation_date: 2020/11/8
updated_date: 2020/11/8
+1
View File
@@ -1,4 +1,5 @@
title: Sysmon Check command lines title: Sysmon Check command lines
id : 4fe151c2-ecf9-4fae-95ae-b88ec9c2fca6
description: hogehoge description: hogehoge
enabled: true enabled: true
author: Yea author: Yea