Feature/#187 change allowlist regexes filenames (#189)

* add risk level filter arguments #45

* fix default level in help #45

* add test yaml files #45

* refactoring and fix level argument usage.

* cargo fmt --all

* add risk level filter arguments #45

* fix default level in help #45

* add test yaml files #45

* refactoring and fix level argument usage.

* cargo fmt --all

* update

* change filename

* fix regexe and allowlist filename in document #187

Co-authored-by: DustInDark <nextsasasa@gmail.com>
This commit is contained in:
James
2021-11-12 13:53:09 +09:00
committed by GitHub
parent 22c8302c4c
commit 7d49b0b521
9 changed files with 18 additions and 18 deletions
+5 -5
View File
@@ -519,8 +519,8 @@ mod tests {
- ホスト アプリケーション
ImagePath:
min_length: 1234321
regexes: ./regexes.txt
allowlist: ./allowlist.txt
regexes: ./config/regex/regexes_suspicous_service.txt
allowlist: ./config/regex/allowlist_legimate_serviceimage.txt
falsepositives:
- unknown
level: medium
@@ -1081,7 +1081,7 @@ mod tests {
selection:
EventID: 4103
Channel:
- allowlist: allowlist.txt
- allowlist: ./config/regex/allowlist_legimate_serviceimage.txt
output: 'command=%CommandLine%'
"#;
@@ -1113,7 +1113,7 @@ mod tests {
selection:
EventID: 4103
Channel:
- allowlist: allowlist.txt
- allowlist: ./config/regex/allowlist_legimate_serviceimage.txt
output: 'command=%CommandLine%'
"#;
@@ -1145,7 +1145,7 @@ mod tests {
selection:
EventID: 4103
Channel:
- allowlist: allowlist.txt
- allowlist: ./config/regex/allowlist_legimate_serviceimage.txt
output: 'command=%CommandLine%'
"#;