Skip to content

test: add real OpenShell v0.1.7 OCSF 1.8.0 log fixtures #70

Closed

Description

@ilanh

tests/fixtures/logs/ocsf.jsonl is hand-written and minimal: it has no metadata, type_uid, disposition or proxy_endpoint, and no Refuse record. Add a fixture trimmed from a real OpenShell v0.1.7 sandbox run, with every record's metadata.version = 1.8.0, plus a golden test for it.

Capture (MacBook, OpenShell 0.1.7 gateway and CLI, playground policy, ocsf_json_enabled=true). The run produced 42 records: classes 0, 4001 (Open allowed/denied, Refuse), 4002 (L7 allow/deny), 4007 (SSH) and 5019. Results:

The fixture should be scrubbed of device, container and host identifiers and of private IPs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions