Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

fix unit test

Justin D'Souza98a47a5c954a
diff --git a/.gitignore b/.gitignore
index cee4bfa8..3b46dcfb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,6 +29,7 @@ cli/beacon-hooks/*.exe
# Local endpoint logs/config generated during development
.beacon/
*.jsonl
+!cli/beacon/internal/endpoint/wazuh/pack/sample-event.jsonl
*.log
# Collector builder outputs
diff --git a/cli/beacon/internal/endpoint/wazuh/pack/sample-event.jsonl b/cli/beacon/internal/endpoint/wazuh/pack/sample-event.jsonl
new file mode 100644
index 00000000..b27afa6b
--- /dev/null
+++ b/cli/beacon/internal/endpoint/wazuh/pack/sample-event.jsonl
@@ -0,0 +1,2 @@
+{"timestamp":"2026-05-11T22:20:00Z","vendor":"beacon","product":"endpoint-agent","schema_version":"1.0","event":{"kind":"agent_runtime","action":"agent.detected","category":"validation"},"severity":"info","endpoint":{"hostname":"example-mac","os":"darwin","agent_version":"0.1.0"},"user":{"name":"local-user"},"harness":{"name":"test_harness","version":"test"},"destination":{"type":"wazuh","mode":"localfile","status":"configured"},"message":"Beacon endpoint Wazuh validation event"}
+{"timestamp":"2026-05-11T22:21:00Z","vendor":"beacon","product":"endpoint-agent","schema_version":"1.0","event":{"kind":"agent_runtime","action":"command.executed","category":"command"},"severity":"info","endpoint":{"hostname":"example-mac","os":"darwin","agent_version":"0.1.0"},"user":{"name":"local-user"},"harness":{"name":"cursor"},"session":{"id":"conversation-1","working_directory":"/Users/local-user/repo"},"tool":{"name":"Shell","command":"go test ./..."},"command":{"command":"go test ./..."},"content":{"retention":"metadata","included":false},"message":"Shell command executed"}