EventLens: publish v1.1.0 application and standalone Compose

Includes campaign summaries, expanded Windows event correlation, worker-based redaction, updated demo assets and a local-only Compose example.

Publish curated EventLens source from 6a2ca12f81a2dcf816c61a86bd8811fcc95e8d8d
This commit is contained in:
Public Source Publisher committed 2026-11-20 13:15:35 +01:00
1 parent c0ade21029
commit 4e282639a4
63 files changed
+7381 -1420

No files matched your search

+6 -4
View File
@@ -52,7 +52,7 @@ def _fingerprint(stage: str, exc: BaseException) -> str:
def parse_evtx_bytes(
data: bytes,
data: bytes | bytearray,
max_events: int = MAX_EVENTS,
max_seconds: float = MAX_PARSE_SECONDS,
) -> ParseResult:
@@ -113,9 +113,11 @@ def parse_evtx_bytes(
raw_data = record["data"]
if not isinstance(raw_data, str):
raise TypeError("record data was not textual")
if (
len(raw_data) > MAX_RECORD_JSON_BYTES
or len(raw_data.encode("utf-8")) > MAX_RECORD_JSON_BYTES
# A str of n characters encodes to at most 4n UTF-8 bytes, so the
# costly encode is only needed for records near the limit.
if len(raw_data) > MAX_RECORD_JSON_BYTES or (
len(raw_data) * 4 > MAX_RECORD_JSON_BYTES
and len(raw_data.encode("utf-8")) > MAX_RECORD_JSON_BYTES
):
add_issue(
"record_json_limit_exceeded",