Skip to content

[Mapping] Add NVIDIA OpenShell pack - #46184

Open
content-bot wants to merge 6 commits into
masterfrom
contrib/nkanon_nvidia-openshell-pack-mapping
Open

content-bot wants to merge 6 commits into
masterfrom
contrib/nkanon_nvidia-openshell-pack-mapping

Conversation

@content-bot

@content-bot content-bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Related PRs

Original External PR: #46162
Main Internal PR: #46183

Contributor

@nkanon

Contributing to Cortex XSOAR Content

Make sure to register your contribution by filling the contribution registration form

The Pull Request will be reviewed only after the contribution registration form is filled.

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

N/A - new community-supported content pack.

Description

Adds NVIDIA OpenShell, a new community-supported XSIAM pack that normalizes
OCSF telemetry from OpenShell AI agent
sandboxes into XDM.

OpenShell runs AI coding agents in isolated sandboxes with policy-enforced
egress. Each sandbox supervisor emits OCSF v1.8.0 events covering network,
HTTP, SSH, process, config-change and detection-finding activity.

Dataset: nvidia_openshell_raw

Contents

Type Item
Parsing Rule NVIDIAOpenShell — targets nvidia_openshell_raw, sets _time from the OCSF epoch-millisecond time field
Modeling Rule NVIDIAOpenShell — XDM normalisation across 8 OCSF classes
XSIAM Dashboard 5 widgets over sandbox egress, policy decisions and event volume

Modeling notes

  • Enum pairs. The openshell-ocsf crate emits both <name>_id (integer)
    and <name> (string label) for every OCSF enum, so the schema declares both
    keys for all seven enums.
  • One blocked egress attempt emits two events. The policy DNS stage emits
    activity_id 5 (Refuse), then the TCP stage emits activity_id 1
    (Open). Queries counting denials should filter one stage out.
  • Sandbox attribution. container.uid identifies the sandbox.
    metadata.uid is unique per event and is not used for attribution. OCSF
    downgrades below v1.8.0 strip the container object, so the README advises
    keeping the native version.

Why no correlation rules

OpenShell's default sandbox policy denies all egress, so denial volume is high
on normal agent activity until an operator applies a policy. Detection
thresholds need a baseline from the target environment, so none ship in this
pack. They will follow in a separate PR.

Validation

  • demisto-sdk validate -i Packs/NVIDIA_OpenShell — all validations passed
  • Parsing and modeling rules deployed to a live XSIAM tenant; xdm.* fields
    populate and _time matches the source time
  • All dashboard widgets executed against ingested data
  • Field names verified against the openshell-ocsf crate's serialization tests
  • No hardcoded hostnames, tenant identifiers or credentials

Must have

  • Tests
  • Documentation

Tests: this pack contains no Python integrations or automations, so there is
no unit-test or test-playbook surface. Content items are XSIAM parsing and
modeling rules plus a dashboard, all covered by demisto-sdk validate.
fixes: https://jira-dc.paloaltonetworks.com/browse/CRTX-286715
linked: https://jira-dc.paloaltonetworks.com/browse/CIAC-18589

nkanon and others added 2 commits October 7, 2026 17:59
* Add NVIDIA OpenShell pack

Normalizes OCSF telemetry from NVIDIA OpenShell AI agent sandboxes into the
Cortex Data Model.

OpenShell runs AI coding agents in isolated sandboxes and emits OCSF v1.8.0
events for network, HTTP, SSH, process, config and finding activity. This pack
ingests that JSONL and maps it to XDM.

Contents:
- ParsingRules: sets _time from the OCSF epoch-millisecond "time" field
- ModelingRules: maps 8 OCSF classes to xdm.*, with a 50-field schema
- XSIAMDashboards: 5 widgets, all querying the data model

Notes:
- Field names were verified against the openshell-ocsf crate's own
  serialization tests, including the insert_enum_pair! macro that emits both
  "<name>_id" and "<name>" for every OCSF enum.
- A blocked egress attempt emits two events: activity_id 5 at the policy DNS
  stage, then activity_id 1 at the TCP stage. Anything counting denials must
  filter one stage out or every threshold doubles.
- No correlation rules ship. OpenShell's default policy denies all egress, so
  any detection keyed on denial volume fires continuously on normal agent
  activity. Two draft rules and the reasoning are in future/CorrelationRules/
  for operators who have a baseline from their own environment.

Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com>

* Drop hardcoded observer vendor and product

Only ~5% of modeling rules in the repository set xdm.observer.vendor or
xdm.observer.product. Both were hardcoded string literals here, which adds
nothing the pack name does not already convey. xdm.observer.version and
xdm.observer.type still carry the real values from metadata.product.

Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com>

* Map device.name to xdm.observer.name

xdm.observer.name is set by 37% of modeling rules in the repository and was
missing here. The OCSF device object carries the gateway's own name, which is
what that field is for. xdm.observer.unique_identifier now prefers device.uid,
the stable identifier, falling back to the name.

Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com>

* Remove the future/ directory

No pack in the repository ships a future/ subdirectory, and the README it
contained was picked up by the mdx-validation pre-commit hook, which only
expects READMEs at the pack root or under Integrations, Scripts and Playbooks.
The reasoning for not shipping correlation rules stays in the pack README and
the PR description.

Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com>

* Rename dashboard to match the required path convention

validate-content-paths requires XSIAM dashboards to be named
<pack_name>_<dashboard_name>.json. The file used the content item stem
(NVIDIAOpenShell) rather than the pack directory name (NVIDIA_OpenShell),
which failed the hook. The dashboard global_id now matches the filename.

Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com>

* Correct collection guidance to match upstream docs

NVIDIA confirmed the supervisor, one per sandbox, is the aggregation point for
sandbox OCSF telemetry, and updated the accessing-logs docs ahead of 0.1.3.

- Supervisor logs live in the supervisor's own filesystem, not the sandbox
  workload. Add the per-driver location and lifetime table.
- Remove the 'macOS VM driver' known issue. It was a misreading: the probe ran
  in the workload via sandbox exec, which cannot reach supervisor files.
- Note that the default supervisor image has no shell or tar, so collection
  needs a mounted or sidecar collector rather than exec/cp.

Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com>

* Rewrite README in the marketplace house style

Restructure to the layout used by NVIDIA DOCA Argus and other HTTP Log
Collector packs: Overview, This pack includes, Supported log categories,
Supported timestamp formats, and Data Collection with Cortex XSIAM and vendor
sides. Remove development notes that do not belong in operator documentation.

Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com>

* Use XDM constants for IP protocol and standard severity labels

Align with the conventions in the reviewed Docker AI Governance modeling rule
and the wider repository:

- Map connection_info.protocol_name to XDM_CONST.IP_PROTOCOL_TCP/UDP instead
  of writing the raw string, so the field matches other network sources.
- Map OCSF severity 6 (Fatal) to Critical. Fatal is not a value XDM consumers
  expect for xdm.alert.severity.

Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com>

---------

Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com>
@content-bot content-bot added Contribution Thank you! Contributions are always welcome! docs-approved Contribution Form Filled Whether contribution form filled or not. Community Community Support Level Indicates that the contribution is for Community supported pack Internal PR supported-modules-approved Mapping Contribution labels Oct 7, 2026
@content-bot
content-bot requested a review from OBavly October 7, 2026 15:01
@content-bot content-bot mentioned this pull request Oct 7, 2026
2 of 5 tasks
@content-bot content-bot added Contribution Thank you! Contributions are always welcome! docs-approved Contribution Form Filled Whether contribution form filled or not. Community Community Support Level Indicates that the contribution is for Community supported pack Internal PR supported-modules-approved Mapping Contribution labels Oct 7, 2026
@content-bot

Copy link
Copy Markdown
Contributor Author

🤖 AI-Powered Code Review Available

You can leverage AI-powered code review to assist with this PR!

Available Commands:

  • @marketplace-ai-reviewer start review - Initiate a full AI code review
  • @marketplace-ai-reviewer re-review - Incremental review for new commits

@content-bot

This comment has been minimized.

@content-bot

This comment has been minimized.

@nkanon

nkanon commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Hi @OBavly, a follow-up for this PR: #46236 updates the NVIDIA OpenShell modeling rule on this branch (contrib/nkanon_nvidia-openshell-pack-mapping). Please review it together with this PR, and treat #46236 as the current version of NVIDIAOpenShell.xif.

The changes come from validating the pack against live OpenShell 0.1.3 telemetry (143 events ingested into an XSIAM tenant):

  • xdm.target.ipv4 is left empty for OpenShell's synthetic 198.18.0.0/15 addresses, so only real destination IPs are mapped
  • xdm.source.process.pid is empty when the supervisor reports 0
  • xdm.source.process.command_line is empty when the value is "" or -
  • xdm.observer.name maps from device.hostname, since device.name is not present in real events

Everything else in the pack is unchanged. Thanks!

Validated against 143 real OpenShell 0.1.3 events ingested into an
XSIAM tenant; the rule saves and maps cleanly there.

- Null xdm.target.ipv4 for synthetic 198.18.0.0/15 addresses (incidr)
- Map pid 0 to null for xdm.source.process.pid
- Map blank or "-" command lines to null for
  xdm.source.process.command_line
- Take xdm.observer.name from device.hostname and set
  xdm.observer.unique_identifier = coalesce(device.uid, device.name,
  device.hostname)

Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com>
@content-bot

This comment has been minimized.

…6273)

OpenShell 0.1.3+ writes full OCSF JSON to the supervisor's container stderr as
'<ts> OCSF-JSON <json>' when ocsf_json_enabled is on; NVIDIA documents this as the
collection path for Docker, Podman and Kubernetes.

- Parsing rule: time extraction only, from the OCSF epoch-ms time field or the
  leading UTC timestamp of a supervisor log line.
- Modeling rule: models OCSF events delivered as JSON objects, Docker json-file
  records (log column) or JSON-string lines (_raw_log); extracts the OCSF JSON after
  the OCSF-JSON marker; only real OCSF events receive XDM values.
- Schema: declare _raw_log, log, stream.
- README: supervisor container logs as the primary collection method; JSONL files
  as the alternative.
Validated in a live XSIAM tenant against real OpenShell 0.1.3 events for all three
input shapes; existing JSON-object ingestion unchanged.

Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com>
@content-bot

This comment has been minimized.

@content-bot

Copy link
Copy Markdown
Contributor Author

⚠️ The PR is missing the ready-for-pipeline-running label. Please add the label when the PR is ready in order to proceed.

@content-bot

Copy link
Copy Markdown
Contributor Author

Validate summary
The following errors were reported as warnings: BC117 (Approved).
✅ BC117 validation has been approved by PM review (supported-modules-approved label present).
The following errors were thrown as a part of this pr: ST110.
The following errors cannot be ignored: ST110.
If the AG100 validation in the pre-commit GitHub Action fails, the pull request cannot be force-merged.

Verdict: PR can be force merged from validate perspective? ❌

@content-bot

Copy link
Copy Markdown
Contributor Author

🔍 AI Triage Report Available

An automated triage report has been generated for this pipeline.

Status: failed
Report ID: e779016b69467bef

📋 Triage Report
💡 Resolutions are available in the full report.

⚠️ AI-generated triage. Validate before acting.

@krishicks

Copy link
Copy Markdown

Written by Claude Code, reviewed by @krishicks

@nkanon, OpenShell 0.1.8 removes the top-level container object from its OCSF records (ai-openshell/openshell#5048). OCSF 1.8.0 doesn't define container at the top level for these event classes, so strict consumers rejected the records. Against 0.1.8, this pack's tmp_container will be null, so tmp_sandbox_id and tmp_sandbox_name will be null too. That empties xdm.source.agent.identifier and xdm.source.host.device_id, and the "Busiest Sandboxes" widget.

Sandbox identity now lives here:

Supervisor records (metadata.product.name = OpenShell Sandbox Supervisor) Gateway records (OpenShell Gateway)
Sandbox ID device.container.uid unmapped.sandbox_id
Sandbox name device.container.name unmapped.sandbox_name (only when known)

Suggested change to the modeling rule. It keeps the old path last, so records from 0.1.7 and earlier still map:

    tmp_unmapped = coalesce(unmapped, json_extract(tmp_ocsf, "$.unmapped")),
...
    tmp_sandbox_id = coalesce(
        json_extract_scalar(tmp_device, "$.container.uid"),
        json_extract_scalar(tmp_unmapped, "$.sandbox_id"),
        json_extract_scalar(tmp_container, "$.uid")),
    tmp_sandbox_name = coalesce(
        json_extract_scalar(tmp_device, "$.container.name"),
        json_extract_scalar(tmp_unmapped, "$.sandbox_name"),
        json_extract_scalar(tmp_container, "$.name"))

A few related points:

  • Gateway device describes the gateway host, not a sandbox, so the tmp_device_hostname fallback on gateway records gives the gateway's hostname.
  • Gateway API Activity resources list the targets named in the request. Don't use them for sandbox attribution: a cross-sandbox authorization denial names the requested sandbox there but has no unmapped.sandbox_id.
  • Authentication records (3002) carry no sandbox identity.
  • Image identity, if you add it later. On Docker and Podman, device.container.image.uid is the immutable image ID resolved when the sandbox launched, and device.container.image.name is the requested reference. On Kubernetes, VM, and shared-supervisor sandboxes, the reference is in unmapped.container_image instead.
  • Your schema and docs. NVIDIAOpenShell_schema.json should declare device.container and unmapped. Also update the rule's comment and the README note that tie sandbox attribution to the top-level container object.

The current record layout is documented in docs/observability/ocsf-json-export.mdx.

@nkanon

nkanon commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Thanks @krishicks, this is really helpful.

I've updated the modeling rule to read sandbox identity from device.container on supervisor records and unmapped.sandbox_id / unmapped.sandbox_name on gateway records, keeping the top-level container last so 0.1.7 and earlier still map. Gateway records no longer fall back to the gateway hostname. I'll also update the schema and README.

A few questions so I can test against real data:

  1. Could you share a few real 0.1.8 records (a supervisor egress event, a gateway API Activity event, and an Authentication 3002)?
  2. Which release ships change phishlabsioc to phishlabsioc_eir #5048, and does the change apply the same way to JSONL, stderr OCSF-JSON and OTLP?
  3. Is unmapped.sandbox_id the long-term location on gateway records, or will it move to a schema-defined field?
  4. With multi-sandbox supervisors (RFC 0018), will device.container still identify the sandbox on each event?

@nkanon

nkanon commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Thanks @krishicks, this is really helpful.

I've updated the modeling rule to read sandbox identity from device.container on supervisor records and unmapped.sandbox_id / unmapped.sandbox_name on gateway records, keeping the top-level container last so 0.1.7 and earlier still map. Gateway records no longer fall back to the gateway hostname, and the schema and README are updated. The OpenShell content is now consolidated into a single pack in #46497, which includes this change.

A few questions so I can test against real data:

  1. Could you share a few real 0.1.8 records (a supervisor egress event, a gateway API Activity event, and an Authentication 3002)?
  2. Which release ships change phishlabsioc to phishlabsioc_eir #5048, and does the change apply the same way to JSONL, stderr OCSF-JSON and OTLP?
  3. Is unmapped.sandbox_id the long-term location on gateway records, or will it move to a schema-defined field?
  4. With multi-sandbox supervisors (RFC 0018), will device.container still identify the sandbox on each event?

@krishicks

Copy link
Copy Markdown

Drafted by 🤖, signed off by @krishicks

@nkanon, answers in order:

1. Sample 0.1.8 records. The JSON record structure section has a full supervisor Network Activity (4001) egress record in the 0.1.8 shape, with device.container and the container profile in metadata.profiles. We'll follow up here with captured records for the three classes you asked for: supervisor egress, gateway API Activity (6003) and Authentication (3002).

2. Release and transports. ai-openshell/openshell#5048 shipped in v0.1.8. 0.1.8 is also the first release whose native records pass OCSF 1.8.0 validation with no exceptions. The change applies equally to every transport, because JSONL files, stderr OCSF-JSON lines and OTLP log records all serialize the same event:

  • The OTLP log body is that JSON string.
  • OTLP records also carry an openshell.sandbox.id log attribute. It's taken from device.container.uid on supervisor records and from unmapped.sandbox_id on gateway records. If you ingest over OTLP, you can attribute by that attribute without parsing the body.
  • The gateway log API and openshell logs still return shorthand text, not structured records.

3. unmapped.sandbox_id on gateway records. That's the current location, and there's no planned move. Gateway records use device for the gateway host. OCSF 1.8.0 has no event-level attribute for "the sandbox this gateway event concerns." API Activity resources names the request's target, which isn't always the caller's sandbox. A cross-sandbox denial, for example, lists the requested sandbox there. If a later OCSF version adds a suitable attribute and we adopt it, we'll announce it with migration guidance, as we did here.

4. Multi-sandbox supervisors (RFC 0018). Yes. A supervisor that hosts several sandboxes binds an OCSF context to each sandbox session, so each record carries that sandbox's own device.container.uid and .name, not a process-wide identity. Records from a shared supervisor differ in two ways:

  • They omit device.container.image and keep the image reference in unmapped.container_image, because no resolved image ID is available there.
  • They carry no trace correlation (trace.uid), because shared supervisor hosts don't start OTLP exporters.

@krishicks

Copy link
Copy Markdown

Drafted by 🤖, signed off by @krishicks

@nkanon, here are the captured 0.1.8 records I promised. They come from the released 0.1.8 gateway, supervisor and sandbox images on Docker. The gateway authenticated with Keycloak OIDC and exported OCSF over OTLP to a collector. Each record below is the OTLP log body, the same JSON written to the JSONL file and to the stderr OCSF-JSON lines.

Supervisor egress denial: Network Activity (4001). A sandbox opened a TCP connection to example.com:443 with no network policy allowing it. 198.18.0.2 is the synthetic address Policy DNS returns for names under policy review. OTLP attribute: openshell.sandbox.id=6a959378-a8ab-462f-b994-35bb46213a6e.

Record
{
  "class_uid": 4001,
  "class_name": "Network Activity",
  "category_uid": 4,
  "category_name": "Network Activity",
  "activity_id": 1,
  "activity_name": "Open",
  "type_uid": 400101,
  "type_name": "Network Activity: Open",
  "time": 1795049728349,
  "severity_id": 3,
  "severity": "Medium",
  "status_id": 2,
  "status": "Failure",
  "message": "Transparent TCP denied before relay: network connections not allowed by policy",
  "status_detail": "transparent_tcp_policy_denied",
  "metadata": {
    "version": "1.8.0",
    "product": {
      "name": "OpenShell Sandbox Supervisor",
      "vendor_name": "OpenShell",
      "version": "0.1.8"
    },
    "profiles": [
      "security_control",
      "network_proxy",
      "container",
      "host"
    ],
    "uid": "49b2f23f-9ae8-4730-964c-f0890e7f063d"
  },
  "device": {
    "hostname": "3f58e8891efa",
    "type_id": 99,
    "type": "Sandbox",
    "container": {
      "name": "egress-demo",
      "uid": "6a959378-a8ab-462f-b994-35bb46213a6e",
      "image": {
        "uid": "sha256:d9461f428eea54e553add3a5158a0f245c6e1ea73efc59fff8e98e3d4a38e378",
        "name": "nvcr.io/nvidia/base/ubuntu:24.04"
      }
    },
    "os": {
      "name": "Linux",
      "type_id": 200,
      "type": "Linux"
    }
  },
  "dst_endpoint": {
    "domain": "example.com",
    "ip": "198.18.0.2",
    "port": 443
  },
  "proxy_endpoint": {
    "ip": "127.0.0.1",
    "port": 3128
  },
  "actor": {
    "process": {
      "name": "/usr/bin/bash",
      "pid": 0,
      "cmd_line": "",
      "parent_process": {
        "name": "/usr/bin/timeout",
        "pid": 0,
        "parent_process": {
          "name": "/usr/bin/bash",
          "pid": 0
        }
      }
    }
  },
  "action_id": 2,
  "action": "Denied",
  "disposition_id": 2,
  "disposition": "Blocked",
  "is_src_dst_assignment_known": true
}

Gateway authorization denial: API Activity (6003). An OIDC user who isn't a member of the default workspace called GetSandbox. resources names the refused workspace. This record carries no sandbox attribution: there's no unmapped.sandbox_id, and no openshell.sandbox.id attribute.

Record
{
  "action": "Denied",
  "action_id": 2,
  "activity_id": 99,
  "activity_name": "Other",
  "actor": {
    "user": {
      "type": "User",
      "type_id": 1,
      "uid": "940ce25d-8c99-4e90-b9c2-0c1de3ee63c3"
    }
  },
  "api": {
    "operation": "GetSandbox",
    "service": {
      "name": "openshell.v1.OpenShell"
    }
  },
  "category_name": "Application Activity",
  "category_uid": 6,
  "class_name": "API Activity",
  "class_uid": 6003,
  "device": {
    "hostname": "0f26f67e386d",
    "name": "ocsf-capture",
    "os": {
      "name": "Linux",
      "type": "Linux",
      "type_id": 200
    },
    "type": "Server",
    "type_id": 1,
    "uid": "ocsf-capture"
  },
  "disposition": "Blocked",
  "disposition_id": 2,
  "http_request": {
    "http_method": "POST",
    "url": {
      "path": "/openshell.v1.OpenShell/GetSandbox"
    }
  },
  "message": "authorization denied: not_workspace_member",
  "metadata": {
    "correlation_uid": "3097de1d-5c33-4275-a859-2ced436c9e0a",
    "product": {
      "name": "OpenShell Gateway",
      "vendor_name": "OpenShell",
      "version": "0.1.8"
    },
    "profiles": [
      "host",
      "security_control",
      "trace"
    ],
    "uid": "bb96753a-3130-40c8-ae5b-5020394ba0a1",
    "version": "1.8.0"
  },
  "resources": [
    {
      "name": "default",
      "type": "workspace"
    }
  ],
  "severity": "Medium",
  "severity_id": 3,
  "src_endpoint": {
    "ip": "172.24.0.1",
    "port": 56100
  },
  "status": "Failure",
  "status_detail": "not_workspace_member",
  "status_id": 2,
  "time": 1795050497871,
  "trace": {
    "uid": "18353062f764923d8313e529465ba841"
  },
  "type_name": "API Activity: Other",
  "type_uid": 600399
}

Gateway authentication failure: Authentication (3002). A request carried an OIDC token with a corrupted signature. Filter rejected requests on status_id: 2, because the gateway also emits an Informational Success Authentication event the first time each credential is accepted.

Record
{
  "action": "Denied",
  "action_id": 2,
  "activity_id": 1,
  "activity_name": "Logon",
  "auth_protocol": "OpenID",
  "auth_protocol_id": 4,
  "category_name": "Identity & Access Management",
  "category_uid": 3,
  "class_name": "Authentication",
  "class_uid": 3002,
  "device": {
    "hostname": "0f26f67e386d",
    "name": "ocsf-capture",
    "os": {
      "name": "Linux",
      "type": "Linux",
      "type_id": 200
    },
    "type": "Server",
    "type_id": 1,
    "uid": "ocsf-capture"
  },
  "disposition": "Blocked",
  "disposition_id": 2,
  "http_request": {
    "http_method": "POST",
    "url": {
      "path": "/openshell.v1.OpenShell/GetSandbox"
    }
  },
  "message": "authentication failed: invalid_credential",
  "metadata": {
    "correlation_uid": "7d2e9b14-0c3a-4f5e-8a6b-1c2d3e4f5a6b",
    "product": {
      "name": "OpenShell Gateway",
      "vendor_name": "OpenShell",
      "version": "0.1.8"
    },
    "profiles": [
      "security_control",
      "host"
    ],
    "uid": "7de2bc4d-6034-4e31-abcb-7662d52575be",
    "version": "1.8.0"
  },
  "service": {
    "name": "openshell-gateway"
  },
  "severity": "Medium",
  "severity_id": 3,
  "src_endpoint": {
    "ip": "172.24.0.1",
    "port": 56102
  },
  "status": "Failure",
  "status_detail": "invalid_credential",
  "status_id": 2,
  "time": 1795050497944,
  "type_name": "Authentication: Logon",
  "type_uid": 300201,
  "user": {
    "name": "unknown",
    "type": "Unknown",
    "type_id": 0
  }
}

Gateway sandbox-attributed record: Device Config State Change (5019). An admin added a network rule to the sandbox's policy. This is what a gateway record attributed to a sandbox looks like: device is the gateway, and the sandbox is in unmapped.sandbox_id / unmapped.sandbox_name. OTLP attribute: openshell.sandbox.id=6a959378-a8ab-462f-b994-35bb46213a6e.

Record
{
  "activity_id": 1,
  "activity_name": "Log",
  "category_name": "Discovery",
  "category_uid": 5,
  "class_name": "Device Config State Change",
  "class_uid": 5019,
  "device": {
    "hostname": "0f26f67e386d",
    "name": "ocsf-capture",
    "os": {
      "name": "Linux",
      "type": "Linux",
      "type_id": 200
    },
    "type": "Server",
    "type_id": 1,
    "uid": "ocsf-capture"
  },
  "message": "gateway merged incremental policy op: add-endpoint example endpoints=[example.com:443] binaries=[/usr/bin/bash]",
  "metadata": {
    "product": {
      "name": "OpenShell Gateway",
      "vendor_name": "OpenShell",
      "version": "0.1.8"
    },
    "profiles": [
      "security_control",
      "host"
    ],
    "uid": "6cf06a2c-d201-450d-af56-58d35a464c4f",
    "version": "1.8.0"
  },
  "severity": "Informational",
  "severity_id": 1,
  "state": "merged",
  "state_id": 99,
  "status": "Success",
  "status_id": 1,
  "time": 1795050535529,
  "type_name": "Device Config State Change: Log",
  "type_uid": 501901,
  "unmapped": {
    "policy_hash": "5e017124f53495983a3bf4ef3c7c15fc23b52a0137da6c625ec74578183e35ec",
    "policy_version": "v2",
    "sandbox_id": "6a959378-a8ab-462f-b994-35bb46213a6e",
    "sandbox_name": "egress-demo"
  }
}

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Support Level Indicates that the contribution is for Community supported pack Community Contribution Form Filled Whether contribution form filled or not. Contribution Thank you! Contributions are always welcome! docs-approved Internal PR Mapping Contribution supported-modules-approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants