Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] JSON output of search command is missing AllFieldInfo field #1251

Closed
fukusuket opened this issue Jan 12, 2024 · 0 comments · Fixed by #1276
Closed

[bug] JSON output of search command is missing AllFieldInfo field #1251

fukusuket opened this issue Jan 12, 2024 · 0 comments · Fixed by #1276
Assignees
Labels
bug Something isn't working
Milestone

Comments

@fukusuket
Copy link
Collaborator

fukusuket commented Jan 12, 2024

Describe the bug
JSON output of search command is missing AllFieldInfo field.(from version 2.9.0)

Step to Reproduce

./hayabusa-2.9.0-mac-arm search -d ~/Hayabusa/hayabusa-sample-evtx -r ".*" -J -o out.json -C
./less out.json

Expected behavior
AllFieldInfo exists.

{
    "Timestamp": "2009-07-14 13:56:45.074 +09:00",
    "Hostname": "37L4247D28-05",
    "Channel": "Sys",
    "Event ID": 7036,
    "Record ID": 1,
    "EventTitle": "The service entered the running/stopped state",
    "AllFieldInfo": {
        "Binary": "730077007000720076002F0031000000",
        "param1": "Microsoft Software Shadow Copy Provider",
        "param2": "stopped"
    },
    "EvtxFile": "/Users/fukusuke/Hayabusa/hayabusa-sample-evtx/DeepBlueCLI/many-events-system.evtx"
}

Actual behavior
AllFieldInfo does not exist.

{
    "Timestamp": "2009-07-14 13:56:45.074 +09:00",
    "Hostname": "37L4247D28-05",
    "Channel": "Sys",
    "Event ID": 7036,
    "Record ID": 1,
    "EventTitle": "The service entered the running/stopped state",
    "EvtxFile": "/Users/fukusuke/Hayabusa/hayabusa-sample-evtx/DeepBlueCLI/many-events-system.evtx"
}

Environment

  • OS: macOS Sonoma version 14.2.1
  • hayabusa version 2.9.0~ (this issue does not occur 2.8.0)

Additional context
Looking at the release notes for versions 2.8.0 and 2.9.0, the changes related to JSON included the following PR:
#1146

@fukusuket fukusuket added the bug Something isn't working label Jan 12, 2024
@fukusuket fukusuket changed the title [bug] JSON output of search command is missing AllFieldInfo fields [bug] JSON output of search command is missing AllFieldInfo field Jan 12, 2024
@hitenkoku hitenkoku changed the title [bug] JSON output of search command is missing AllFieldInfo field [bug] JSON output of search command is missing AllFieldInfo field Jan 15, 2024
@hitenkoku hitenkoku self-assigned this Jan 19, 2024
@YamatoSecurity YamatoSecurity added this to the v2.13.0 milestone Jan 23, 2024
hitenkoku added a commit that referenced this issue Feb 11, 2024
@hitenkoku hitenkoku modified the milestones: v2.13.0, v2.14.0 Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants