-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from Yamato-Security/66-apply-upstream-pr-242-…
…and-245 Apply upstream PR-242/245 (JSON Output improvement)
- Loading branch information
Showing
14 changed files
with
422 additions
and
363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ repository = "https://github.com/Yamato-Security/hayabusa-evtx" | |
license = "MIT" | ||
readme = "README.md" | ||
|
||
version = "0.8.11" | ||
version = "0.8.12" | ||
authors = ["Omer Ben-Amram <[email protected]>, Yamato Security"] | ||
edition = "2021" | ||
|
||
|
@@ -34,7 +34,7 @@ clap = { version = "4", optional = true } | |
dialoguer = { version = "*", optional = true } | ||
indoc = { version = "*", optional = true } | ||
|
||
serde_json = "1" | ||
serde_json = { version = "1", features = ["preserve_order"]} | ||
|
||
[target.'cfg(not(windows))'.dependencies] | ||
# jemalloc is significantly more peformant than the system allocator. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 16 additions & 17 deletions
33
tests/snapshots/test_record_samples__event_json_multiple_empty_data_nodes_not_ignored.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
--- | ||
source: tests/test_record_samples.rs | ||
expression: "&value" | ||
|
||
--- | ||
{ | ||
"Event_attributes": { | ||
"xmlns": "http://schemas.microsoft.com/win/2004/08/events/event" | ||
}, | ||
"Event": { | ||
"EventData": { | ||
"Data": "Set-Mailbox-Identity \"Administrateur\" -DeliverToMailboxAndForward \"False\" -ForwardingSmtpAddress \"smtp:[email protected]\"ave.local/Users/AdministrateurS-1-5-21-186559946-3925841745-111227986-500S-1-5-21-186559946-3925841745-111227986-500Remote-ManagementShell-Unknown5668 w3wp#MSExchangePowerShellAppPool500:00:26.0389557Afficher la forêt entière : 'False', Portée par défaut : « ave.local », Configuration du contrôleur de domaine : « DC.ave.local », Catalogue global préféré : « DC.ave.local », Contrôleurs de domaine préférés : « { DC.ave.local } »False0 objects execution has been proxied to remote server.0ActivityId: a3591746-a27b-447a-b8be-ff54ae3a46f1ServicePlan:;IsAdmin:True;fr-FR" | ||
}, | ||
"System": { | ||
"Channel": "MSExchange Management", | ||
"Computer": "WEC.ave.local", | ||
"EventID": "1", | ||
"Provider_attributes": { | ||
"Name": "MSExchange CmdletLogs" | ||
}, | ||
"EventID_attributes": { | ||
"Qualifiers": "16384" | ||
}, | ||
"EventRecordID": "3229", | ||
"Keywords": "0x80000000000000", | ||
"EventID": "1", | ||
"Level": "4", | ||
"Provider_attributes": { | ||
"Name": "MSExchange CmdletLogs" | ||
}, | ||
"Security": null, | ||
"Task": "1", | ||
"Keywords": "0x80000000000000", | ||
"TimeCreated_attributes": { | ||
"SystemTime": "2021-11-19T16:52:33.833733500Z" | ||
} | ||
}, | ||
"EventRecordID": "3229", | ||
"Channel": "MSExchange Management", | ||
"Computer": "WEC.ave.local", | ||
"Security": null | ||
}, | ||
"EventData": { | ||
"Data": "Set-Mailbox-Identity \"Administrateur\" -DeliverToMailboxAndForward \"False\" -ForwardingSmtpAddress \"smtp:[email protected]\"ave.local/Users/AdministrateurS-1-5-21-186559946-3925841745-111227986-500S-1-5-21-186559946-3925841745-111227986-500Remote-ManagementShell-Unknown5668 w3wp#MSExchangePowerShellAppPool500:00:26.0389557Afficher la forêt entière : 'False', Portée par défaut : « ave.local », Configuration du contrôleur de domaine : « DC.ave.local », Catalogue global préféré : « DC.ave.local », Contrôleurs de domaine préférés : « { DC.ave.local } »False0 objects execution has been proxied to remote server.0ActivityId: a3591746-a27b-447a-b8be-ff54ae3a46f1ServicePlan:;IsAdmin:True;fr-FR" | ||
} | ||
}, | ||
"Event_attributes": { | ||
"xmlns": "http://schemas.microsoft.com/win/2004/08/events/event" | ||
} | ||
} |
Oops, something went wrong.