Skip to content

[bug] computer-metrics does not extract OS information when using the live-response package #1654

Open
@fukusuket

Description

@fukusuket

Describe the bug
computer-metrics does not extract OS information in Windows11

Step to Reproduce
hayabusa-3.2.0-win-x64.exe computer-metrics -l -q

Expected behavior
Display OS information.

Screenshots

C:\tmp\hayabusa-3.2.0-win-x64-live-response>hayabusa-3.2.0-win-x64.exe computer-metrics -l -q
Start time: 2025/04/05 13:30
Total event log files: 373
Total file size: 189.7 MB

Currently scanning for computer metrics. Please wait.

[00:00:01] 373 / 373   [========================================] 100%

Scanning finished.

╭──────────┬────────────────┬──────────────────────┬───────────────┬─────────╮
│ Computer ┆ OS information ┆ UpTime               ┆ Timezone      ┆ Events  │
╞══════════╪════════════════╪══════════════════════╪═══════════════╪═════════╡
│ mouse    ┆                ┆ 0Y 0M 5d 18h 28m 10s ┆ 東京 (標準時) ┆ 171,630 │
╰──────────┴────────────────┴──────────────────────┴───────────────┴─────────╯
Total computers: 1
Elapsed time: 00:00:01.272


C:\tmp\hayabusa-3.2.0-win-x64-live-response>systeminfo

ホスト名:                   MOUSE
OS 名:                      Microsoft Windows 11 Home
OS バージョン:              10.0.26100 N/A ビルド 26100
OS 製造元:                  Microsoft Corporation
OS 構成:                    スタンドアロン ワークステーション
OS ビルドの種類:            Multiprocessor Free
登録されている所有者:       [email protected]
登録されている組織:         N/A
プロダクト ID:              00342-22233-15855-AAOEM
最初のインストール日付:     2024/12/29, 12:33:17
システム起動時間:           2025/03/30, 17:31:50
システム製造元:             MouseComputer
システム モデル:            F4I7I01CGABA
システムの種類:             x64-based PC
プロセッサ:                 1 プロセッサインストール済みです。

Environment

  • OS: Windows 11 Home
  • hayabusa version 3.2.0

Additional context

  <Event>
 <System>
  <Provider Name="EventLog" /> 
  <EventID Qualifiers="32768">6009</EventID> 
  <Version>0</Version> 
  <Level>4</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2025-03-30T08:32:07.8456986Z" /> 
  <EventRecordID>12251</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="3604" ThreadID="3652" /> 
  <Channel>System</Channel> 
  <Computer>mouse</Computer> 
  <Security /> 
  </System>
<EventData>
  <Data>10.00.</Data> 
  <Data>26100</Data> 
  <Data /> 
  <Data>Multiprocessor Free</Data> 
  <Data>0</Data> 
  </EventData>
  </Event>

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions