Skip to content

[BUG] Auditor crash in some environments trying to parse a number #405

@c3s4rfred

Description

@c3s4rfred

Describe the bug
The user auditor module in some production environments crashes when trying to parse a number too large.

Screenshots
java.lang.RuntimeException: java.lang.Exception: UserService.winEventlogs: com.fasterxml.jackson.databind.JsonMappingException: Numeric value (4299178195) out of range of int (-2147483648 - 2147483647)
at [Source: (String)"{"@timestamp":"2024-01-31T10:54:00.246243877Z","@Version":"1","computer_name":"somePC","dataSource":"somePC","dataType":"wineventlog","device time":"2024-01-31T10:53:57.734Z","global":{"type":"logx"},"id": "89b44014-cc68-469d-91a2-acdce48a

Environment

  • UTMStack 10.2
  • Windows Agent installed on Windows Server 2016 Datacenter

Possible solution
Convert all numbers to string to avoid precision issues.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions